Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
Perl Monk, Perl Meditation
 
PerlMonks  

Hacking Debugger bugs connected to $^D

by LanX (Abbot)
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?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (8)
As of 2014-04-21 12:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (495 votes), past polls