Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 taking refuge in the Monastery: (7)
As of 2014-08-31 10:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (294 votes), past polls