Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Complex Data Structure

by kennethk (Monsignor)
on May 21, 2012 at 14:48 UTC ( #971635=note: print w/ replies, xml ) Need Help??


in reply to Complex Data Structure

How can I visualize my complex data structure?, short answer Data::Dumper

In order to retrieve data, you might use something like my $value = $Data{$Name}{Rank}[$i], though others on this site would say you should always include the explicit dereference, as in my $value = $Data{$Name}->{Rank}->[$i].

#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.


Comment on Re: Complex Data Structure
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (15)
As of 2014-10-21 11:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (102 votes), past polls