Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://664274]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2018-02-26 00:04 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (315 votes). Check out past polls.