debug code in BEGIN{} block
How to debug code in BEGIN{} block? -- perl -e 'print unpack(u,"62V5N\"FME;G\!Ehttp://learn.perl.org/> <http://learn.perl.org/first-response>
Re: debug code in BEGIN{} block
On 1/19/06, Ken Perl <[EMAIL PROTECTED]> wrote: > How to debug code in BEGIN{} block? You can make a "permanent breakpoint" by assigning to $DB::single, even during a BEGIN block. $DB::single = 1 if $fred < 7; There's more detail in the perldebug manpage. Hope this helps! --Tom Phoenix Stonehenge Perl Training -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>