Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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 drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2016-12-03 10:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (55 votes). Check out past polls.