Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Answer: How do I make a hash of hashes?

( #2724=categorized answer: print w/ replies, xml ) Need Help??

Q&A > Data Structures > How do I make a hash of hashes? contributed by blackfrier

You can declare it like:
%hash = ( arms => { biggest => 'mine', smallest => 'yours' }, feet => { biggest => 'right', smallest => 'left' }, legs => { biggest => 'theirs', smallest => 'them', muscular => 'yes' } );

Comment on Answer: How do I make a hash of hashes?
Download Code
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2016-02-09 00:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (292 votes), past polls