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?? |
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.
In Section
Seekers of Perl Wisdom
|
|