http://www.perlmonks.org?node_id=83333


in reply to (tye)Re: Preventing BEGIN blocks from being run in the debugger?
in thread Preventing BEGIN blocks from being run in the debugger?

But this is a perl tags utility; I can't edit the source code.
In perldebguts, though, it says that the contents of PERL5DB will be inserted at the beginning of the program being debugged. Which is the same as putting it in the source code. And, in fact, had I not misspelled $DB::begin, it would have worked. However, it doesn't do what I want: if you break in a BEGIN block, the line number arrays aren't yet set up, so the tags utility won't work. Oh well...