|Perl: the Markov chain saw|
Why are my functions second-class citizens?by email@example.com (Initiate)
|on Feb 15, 2012 at 16:30 UTC||Need Help??|
firstname.lastname@example.org has asked for the
wisdom of the Perl Monks concerning the following question:
So, let's say, purely for the sake of argument, that I have a function like:
and I want to call it in this context:
Perl won't let me because it thinks I'm trying to use &rv as the comparison function for sort. I could say:
but that doesn't look as cool.
How do get perl to treat &rv the same way?