el-moe has asked for the wisdom of the Perl Monks concerning the following question:
The &show_list is another window with a list I need to pick from. The problem is that the print happens before I've even clicked the OK button on the other window... so I'm not getting the value returned. I have checked the value in the other .pm where the list is generated and it is setting my $picked value.use Widget_Lib; my $var; my $button = $frame->Button(-text => "merge", -command => sub { $var=&Widget_Lib::show_list; print "$var"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: pTk popup not returning value and not locking calling window
by Anonymous Monk on Oct 07, 2000 at 23:41 UTC | |
|
Re: pTk popup not returning value and not locking calling window
by Chmrr (Vicar) on Oct 09, 2000 at 06:07 UTC | |
by el-moe (Scribe) on Oct 09, 2000 at 23:38 UTC | |
by jcwren (Prior) on Oct 10, 2000 at 00:15 UTC | |
by el-moe (Scribe) on Oct 10, 2000 at 01:43 UTC |