Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Combining two lists into a hash

by Paladin (Priest)
on May 03, 2005 at 21:31 UTC ( #453737=note: print w/replies, xml ) Need Help??


in reply to Combining two lists into a hash

my %hash; @hash{@a} = @b;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://453737]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (7)
As of 2017-02-27 17:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (389 votes). Check out past polls.