Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Answer: How do I make a hash of hashes?

by blackfrier (Initiate)
on Feb 02, 2000 at 17:40 UTC ( #2724=categorized answer: print w/replies, xml ) Need Help??

Q&A > Data Structures > How do I make a hash of hashes? - Answer 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' } );

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (9)
As of 2017-01-19 20:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (172 votes). Check out past polls.