Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: sort on values in an array of hashes

by blazar (Canon)
on Apr 19, 2005 at 09:28 UTC ( #449157=note: print w/replies, xml ) Need Help??


in reply to sort on values in an array of hashes

push (@found, {name => $1}) if(/*.pm/);
Except that this won't even compile and if it did, then it would be pointless to use $1 for there are no capturing parens. Hint: regexen are not shell patterns.

Hint no. 2: post real code when asking for help.

PS: slight smell of XY here...

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2021-01-21 18:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?