Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: how to print out a variable name and its value

by Bloodnok (Vicar)
on Jul 30, 2008 at 10:58 UTC ( [id://701084]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use data::Dumper;
    
    ...
    }
    
    some_sub qw/Edward Lear/;
    
  2. or download this
    $VAR1 = {
              first_name => 'Edward',
              surname    => 'Lear',
            };
    
  3. or download this
    some_sub qw/Edward Lear/;
    
  4. or download this
    some_sub first_name => 'Edward', surname => 'Lear';
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-04-20 03:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found