Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: How do I make a hash of arrays?

by Anonymous Monk
on Aug 16, 2004 at 21:19 UTC ( [id://383463]=note: print w/replies, xml ) Need Help??


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

You can always...
push(@{$hash{$key}}, $insert_val);

...to load the arrays in the hash. That way you don't have to build the arrays, then dereference them into the hash.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-04-19 12:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found