Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Hacking Debugger bugs connected to $^D

by LanX (Chancellor)
on Apr 24, 2013 at 15:52 UTC ( #1030454=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      DB<100> sub tst {}
     => 0
    
  2. or download this
    $ perl -e 'use Data::Dumper; print Dumper eval "sub tst {}"'
    $
    
  3. or download this
    $ perl -e 'use Data::Dumper; print Dumper eval "\$^D=\$^D;sub tst {}"'
    $VAR1 = '0';
    
  4. or download this
    $evalarg = "\$^D = \$^D | \$DB::db_stop;\n$cmd";
    
  5. or download this
    $evalarg = "\$^D = \$^D | \$DB::db_stop;\ndo {$cmd}";
    
  6. or download this
    :~$ perl -e 'use Data::Dumper; print Dumper eval "\$^D=\$^D;do {sub ts
    +t {}}"'
    :~$
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1030454]
Approved by marto
Front-paged by Old_Gray_Bear
help
Chatterbox?
[beech]: of course the magic word that explains everything :p
[erix]: they should lean to gnash their teeth a bit instead of writing more ^Re:NN-nodes :)
[erix]: *learn
[erix]: comic relief: how to start a riot and a fortune at the same time
[beech]: :) thats too generous to jdporter, don't start none won't be none -- there is about two decades (rounding up) worth of "ineffective" node titles -- leave the pope alone :p

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2017-01-17 23:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (159 votes). Check out past polls.