Add this at the top of your program
BEGIN { use Win32 qw(SW_HIDE); Win32::SetChildShowWindow(SW_HIDE); my $perl = $^X; if( $perl =~ s/wperl.exe/perl.exe/i ){ system(1, $perl, $0, @ARGV ); exit; } }
In reply to Re: ActivePerl - perl.exe works, wperl.exe does not...
by Anonymous Monk
in thread ActivePerl - perl.exe works, wperl.exe does not...
by spstansbury
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |