in reply to Re3: Tk Menu question.
in thread Tk Menu question.
I'm getting this as output:sub replace{ my $chosen=shift; $chosen= 'none' unless defined $chosen; print "\nThe selected word:"; print "\n$chosen"; } 1;
which means the button label is not being sent by the main code to the replace function, is that right? what is theThe selected word: none
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re5: Tk Menu question.
by bbfu (Curate) on Oct 09, 2003 at 21:08 UTC | |
by perl_seeker (Scribe) on Oct 10, 2003 at 05:41 UTC |