Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Mystery (to me) Data Structure

by moritz (Cardinal)
on Mar 31, 2008 at 10:53 UTC ( [id://677500]=note: print w/replies, xml ) Need Help??


in reply to Mystery (to me) Data Structure

but I am ashamed to admit I am not even sure what it is called

In this case it's a hash of hashes, or just "nested hashes".

But when data structures grow more complicated it doesn't make sense to invent ever more complicated names for them. Usually a Data::Dumper output of an example data structure explains its structure.

Replies are listed 'Best First'.
Re^2: Mystery (to me) Data Structure
by Dru (Hermit) on Mar 31, 2008 at 14:24 UTC
    In this case it's a hash of hashes, or just "nested hashes".

    Thanks, a HoH is what I thought it was, but it didn't quite resemble the the HoH definition in perldsc so it threw me for a loop, but now I realize they are initializing the hash while I am adding elements to it.

    Thanks,
    Dru

    Perl, the Leatherman of Programming languages. - qazwart

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-04-25 06:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found