Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2016-10-01 21:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?






    Results (8 votes). Check out past polls.