Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 meditating upon the Monastery: (6)
As of 2015-07-02 04:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (27 votes), past polls