Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Print variable name/value for all program variables

by clueless newbie (Chaplain)
on Nov 08, 2012 at 14:39 UTC ( #1002915=note: print w/replies, xml ) Need Help??


in reply to [SOLVED] - Print variable name/value for all program variables

Devel::Symdump has scalar, array and hash methods for returning variables of those types.

  • Comment on Re: Print variable name/value for all program variables

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1002915]
help
Chatterbox?
[ikegami]: That should be ${ $hash{$key} }[$_] because it's $a[$_] when you don't use a ref.
[oiskuu]: James, that's an array slice you have there (over some hash value)
[ikegami]: Mini-Tutorial: Dereferencing Syntax

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2017-04-27 19:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (512 votes). Check out past polls.