Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re^2: Hacking Debugger bugs connected to $^D (())

by LanX (Chancellor)
on Apr 25, 2013 at 01:47 UTC ( #1030557=note: print w/ replies, xml ) Need Help??

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)

Comment on Re^2: Hacking Debugger bugs connected to $^D (())
Select or Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1030557]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2016-02-07 11:44 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (251 votes), past polls