Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^4: Dumping variables but DRY and simple

by LanX (Canon)
on Mar 27, 2010 at 15:05 UTC ( #831353=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # named printing is still not DRY, but much better than:
    # print Data::Dumper->Dump( [$ref], ['*ref'] );
    print '$ref = ', pp($ref), "\n";
    
  2. or download this
    use Data::Dumper qw/Dumper/;
    print '$ref = ', Dumper($ref), "\n";
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (17)
As of 2014-10-20 14:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (77 votes), past polls