Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 perusing the Monastery: (9)
As of 2015-07-29 11:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (263 votes), past polls