Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: looking for a perl way to build a hash

by brx (Pilgrim)
on Jul 29, 2013 at 17:50 UTC ( #1046896=note: print w/ replies, xml ) Need Help??


in reply to looking for a perl way to build a hash

Dirty golfer

my $str1="a,b,c"; my $str2="1,2,3"; @h{eval$str1}=eval$str2
Don't do that, see other replies!
English is not my mother tongue.
Les tongues de ma mère sont "made in France".


Comment on Re: looking for a perl way to build a hash
Download Code

Log In?
Username:
Password:

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

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

    How do you remember the number of days in each month?











    Results (147 votes), past polls