Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 perusing the Monastery: (3)
As of 2017-04-30 13:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (537 votes). Check out past polls.