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

Re^2: array to hash key value pairs

by Anonymous Monk
on Feb 11, 2013 at 20:59 UTC ( #1018241=note: print w/ replies, xml ) Need Help??


in reply to Re: array to hash key value pairs
in thread array to hash key value pairs

I just figured out how to do it

%gene = map{S_} @gene;

Thanks!


Comment on Re^2: array to hash key value pairs
Download Code
Re^3: array to hash key value pairs
by moritz (Cardinal) on Feb 11, 2013 at 21:03 UTC

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2014-10-01 21:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (38 votes), past polls