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


in reply to Re: Hacking Debugger bugs connected to $^D (())
in thread Hacking Debugger bugs connected to $^D

> "sub foo {}" doesn't count as a run-time statment.

Ah I see! Now this explains why wrapping with do {... } helps.

> $ say '$^D=$^D; (); sub foo {}'

Good idea! I'll do that, thanks!

Cheers Rolf

( addicted to the Perl Programming Language)