Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^4: Dumping variables but DRY and simple

by LanX (Chancellor)
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (8)
As of 2016-12-02 21:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (50 votes). Check out past polls.