Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Dumping variables but DRY and simple

by LanX (Saint)
on Mar 27, 2010 at 13:37 UTC ( [id://831338]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub dmp (\[$@%];\[$@%]\[$@%]\[$@%]\[$@%]\[$@%]\[$@%]\[$@%]\[$@%]\[$@%]
    +){
      # die "to many arguments for dmp()" if @_>10;
    ...
        print Data::Dumper->Dump([$struc],[$name]);
      }
    }
    
  2. or download this
    @fontspec = (
                  {
                    'id' => '0',
    ...
                  },
                  {
    # ... and so on
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://831338]
Approved by rovf
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2024-04-24 07:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found