Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

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 the leaves swirl about...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2017-12-14 01:09 GMT
Find Nodes?
    Voting Booth?
    What programming language do you hate the most?

    Results (382 votes). Check out past polls.