#!perl -w # test.pl use strict; use Tk; my $mw = MainWindow->new()->Label(-text=>"Hello World")->pack; MainLoop; __END__
On Win2k box (activeperl 5.8.0, PAR 0.76 ) for the code snippet as above
'pp test.p -o test.exe' produces .exe file which on execution (double click) in folder window shows console window and program window with 'Hello World' label in a foreground. When produced with -gui pp option then on execution the program window isn't shown in a foreground but it's on the Taskbar Menu. I can't make change it any way. I've tried exetype (on perl.exe, on pp produced program), renamed wperl.exe to perl.exe (and then generated .exe file) with no effect.
Any hint? Anybody noticed such behaviour?
Ragards Darek