Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Sorting an array of anonymous hashes with named hashes using hash value

by AnomalousMonk (Archbishop)
on May 07, 2016 at 00:04 UTC ( [id://1162416]=note: print w/replies, xml ) Need Help??


in reply to Sorting an array of anonymous hashes with named hashes using hash value

$places->$a->{name}

That's an object method reference invocation on an object reference. Try
    $places->{$a}->{name}
| No, that won't do it; try this.   (More rubber-duckery needed!)


Give a man a fish:  <%-{-{-{-<

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (2)
As of 2024-04-26 00:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found