Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: sort on values in an array of hashes

by ambs (Pilgrim)
on Apr 19, 2005 at 09:09 UTC ( [id://449153]=note: print w/replies, xml ) Need Help??


in reply to sort on values in an array of hashes

Not sure if what you want is this...
@array = sort { $a->{name} cmp $b->{name}} @found;
Good luck

Alberto Simões

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2024-03-28 18:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found