Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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 perusing the Monastery: (7)
As of 2014-07-30 05:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (229 votes), past polls