Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
more useful options
 
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 drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2014-04-19 00:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (473 votes), past polls