Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Mystery (to me) Data Structure

by moritz (Cardinal)
on Mar 31, 2008 at 10:53 UTC ( #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
Node Status?
node history
Node Type: note [id://677500]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2019-11-12 05:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Strict and warnings: which comes first?



    Results (64 votes). Check out past polls.

    Notices?