sush has asked for the wisdom of the Perl Monks concerning the following question:
Thank you Wise Monks, I work to fork now...##All GUI defining.layout stuff here # EVT_BUTTON ($self, $start_btn, \&runProcess1, ); EVT_BUTTON ($self, $pause_btn, \&runProcess2, ); sub runProcess1{ my ($self, $event)= @_; if (!$MyFrame::startIsClicked){ &MyMethods::testStartJob($self,$event); } } sub runProcess2{ my ($self, $event)= @_; $| =1; print "This is the pause event \n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: wxPerl Event Handling/GUI process control
by zentara (Cardinal) on Nov 19, 2007 at 20:35 UTC | |
|
Re: wxPerl Event Handling/GUI process control
by gloryhack (Deacon) on Nov 20, 2007 at 05:40 UTC | |
|
Re: wxPerl Event Handling/GUI process control
by Anonymous Monk on Nov 20, 2007 at 08:59 UTC |