Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Mutiple values for a single ke in hashes

by Jasper (Chaplain)
on Jan 25, 2008 at 11:59 UTC ( #664274=note: print w/ replies, xml ) Need Help??


in reply to Mutiple values for a single ke in hashes

if @ar_1 is a list of users, why not call it @users? That will make it much easier later.

Similarly for @ar_2 -> @cities.

Your @ar_2 consists of a reference to a hash with keys of city names, and values of other city names? That seems unlikely to me. What is the real data you have, and what structures have you got it in?

Your question is horribly unclear, and stinks of homework.


Comment on Re: Mutiple values for a single ke in hashes

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2014-12-20 18:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (97 votes), past polls