Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: How do I make a hash of hashes?

by chromatic (Archbishop)
on Apr 01, 2000 at 01:13 UTC ( [id://6618]=note: print w/replies, xml ) Need Help??


in reply to How do I make a hash of hashes?

You can also add a hash by doing something like this:
$hash{toes} = { biggest => 'hairy troll', smallest => 'toddler', };
(Note that the {} make a reference to an anonymous hash. See perlman:perldsc for more gritty details.)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://6618]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2024-04-26 08:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found