|We don't bite newbies here... much|
Why are my functions second-class citizens?by firstname.lastname@example.org (Initiate)
|on Feb 15, 2012 at 16:30 UTC||Need Help??|
email@example.com 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?