in reply to Invoking the debugger on yourself
I'm not sure I would have modified my script to include -d on the shebang line. That's the kind of thing I'd forget to take out. Is there some reason you didn't want to start your script with:
? Or even:PERLDB_OPTS=nonstop perl -wd myprogram myarg1 myarg2...
PERLDB_OPTS=nonstop PERL5OPT=-wd myprogram myarg1 myarg2...
|
---|
In Section
Cool Uses for Perl