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>