Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. hamilton123

    Declare variable via dereference

    Thanks very much for your help. I'll try the hash version.
  2. hamilton123

    Automated Widget Binding

    I am using Perl together with a Tcl GUI interface (use Tcl::Tk). I want to bind a lot of widgets (checkbuttons) that all go by the same statement: my $widgetVariable; my $widgetName=$windowName->widget("widgetName"); $widgetName->configure(-variable=>\$widgetVariable); This binds the widget...
  3. hamilton123

    Declare variable via dereference

    I have an array of strings @array=("Checkbutton","Label",...) and I want to declare corresponding variables $Checkbutton, $Label automatically. I tried the declaration my ${$array[i]}, but this gives an error "Can't declare scalar dereference...". Any suggestions? Thanks for your help!

Part and Inventory Search

Back
Top