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

Re^3: How can I access object data in a user defined sort cmp function?

by LanX (Saint)
on Jan 28, 2015 at 18:54 UTC ( [id://1114797]=note: print w/replies, xml ) Need Help??


in reply to Re^2: How can I access object data in a user defined sort cmp function?
in thread How can I access object data in a user defined sort cmp function?

your code is very hard to read and your real intention hard to guess.

I wanted to show another way, with one method ->sort combined with various ->by_val , ->by_something but it's impossible to test with the spare information provided.

Cheers Rolf

PS: Je suis Charlie!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (3)
As of 2024-04-25 21:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found