Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: hashes with multiple values

by chester (Hermit)
on Oct 19, 2005 at 17:31 UTC ( #501363=note: print w/ replies, xml ) Need Help??


in reply to hashes with multiple values

Another way you shouldn't do it:

push@{$hash{$keys[$_%@keys]}},(@val1,@val2,@val3)[$_]for(0..@keys*3-1);


Comment on Re: hashes with multiple values
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2015-07-07 02:23 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 (86 votes), past polls