Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

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

by LanX (Canon)
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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (11)
As of 2014-09-19 15:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (141 votes), past polls