good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: debugging during compileby chrestomanci (Priest) |
on Aug 18, 2011 at 09:47 UTC ( [id://920902]=note: print w/replies, xml ) | Need Help?? |
If you favour the perl debugger, you can debug perl compile time statements by manually setting a breakpoint in a BEGIN block. If you add:
To the top of your perl script, and then run it with perl -d the debugger will stop there before your use statements and the module start-up code they run are evaluated.
In Section
Seekers of Perl Wisdom
|
|