in reply to Enbugger on Windows
if( 'morgon' eq $ENV{PERLDEBUG} ) { delete $ENV{PERLDEBUG}; exec( $^X, '-d', $0, @ARGV ); die "Can't exec $^X: $!\n"; }
Though, if perl2exe ends up passing -I or similar switches to the extracted perl.exe, then this trick requires minor adjustments. You'll also need to generate the exe so that it includes perl5db.pl and maybe a couple of other things.
- tye
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Enbugger on Windows (add your own -d)
by morgon (Priest) on Jan 20, 2012 at 15:15 UTC | |
by tye (Sage) on Jan 21, 2012 at 02:08 UTC |
In Section
Seekers of Perl Wisdom