Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: assign multiple values of a key in hash to multiple variable

by rahulruns (Beadle)
on Aug 21, 2013 at 05:56 UTC ( #1050284=note: print w/ replies, xml ) Need Help??


in reply to Re: assign multiple values of a key in hash to multiple variable
in thread assign multiple values of a key in hash to multiple variable

Thank You Dave for the explanation. I did sort out the solution by introducing split and thus resolving the undef issue

my ($value1,$value2) = split (' ', $nn_file{$key});


Comment on Re^2: assign multiple values of a key in hash to multiple variable
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (13)
As of 2015-03-27 19:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:









    Results (619 votes), past polls