Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

fireartist (6128)

fireartist
  (email not shown publicly)
http://www.fireartist.com/

Journal of fireartist (6128)

Friday August 19, 2005
01:56 PM

problem solved: PAR, pp, Wx, window immediately closes

[ #26378 ]

This is because PAR seems to fork a new child process, then immediately close. This causes the unless (caller) condition in the app.pl file to always be false.

in the main app.pl file, change:

unless(caller){
    my $app = myApp->new();
    $app->MainLoop();
}

to this:

my $app = myApp->new();
$app->MainLoop();

keywords: PAR, pp, WxGlade, Wx, wxperl, perl, windows, win32

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.