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 strongm 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. FishingIwishIwas

    How to refresh Optionmeu

    How does one refresh the Tk:Optionmenu? I modified the -option of the menu, but couldn't found a way of refeshing it with the new option list. Thanks
  2. FishingIwishIwas

    perl2exe_storage/warnings

    I tried perl2exe with my perl code, it created an exe but the app. would not launch and got some warnings. So I tried perl2exe with the sample code tksamp.pl that came with it and I got the same warnings when I ran the application: C:\Perl2exe>tksamp syntax error at PERL2EXE_STORAGE/warnings.pm...
  3. FishingIwishIwas

    Why is buffer modified?

    Can someone explain why/how the array @buf is modified in the following simple program. I thought only the variable $item is supposed to be modified. my @buf = ("a1\n", "a2\n"); print @buf; foreach my $item (@buf) { chop $item; } print @buf; #the result is a1 a2 a1a1
  4. FishingIwishIwas

    How do I enable a button?

    I setup a button with a dis-able state initially: $Bt_Done = $Frame->Button(-text => 'Done', -state => 'disabled' ...) and want to enable it later in another routine but I couldn't figure out the way to do that: $Bt_Done->state = enabled; #This doesn't work $Bt_Done->state => enabled...
  5. FishingIwishIwas

    Why am I getting extra space in front of line 2 and 3?

    Don't know why I get an extra space in front of line 2 and 3 when I use and array: #!/usr/local/bin/perl -w my @buf; my $str1 = "line 1\n"; my $str2 = "line 2\n"; my $str3 = "line 3\n"; push @buf, $str1; push @buf, $str2; push @buf, $str3; print "The content of buffer is:\n"; print "@buf"...

Part and Inventory Search

Back
Top