[Columbus-pm] perl question

Mark Geary geary at acm.org
Wed Feb 15 07:06:27 PST 2012


On Tue, 14 Feb 2012, Terrence Brannon wrote:

> Hi Mark, I figured someone would've answered by now who still lives in Columbus, but I guess not. 
> Your question about getting the first statement to work... I presume the 'first statement' is
>         sort rv @list;
> 
> And presumably you have some form of this statement that works with parentheses? My solution would be:
>       sort { $a <=> $b } (rv @list);

I could call it as:

     sort(rv(@list));

but that doesn't look as cool.

> But your best option is the 'Seekers of Perl Wisdom' section on perlmonks.org ... or perhaps ask on stackoverflow.com

I suppose I will. I thought I'd start locally.

Mark

-- 
Don't forget to stop and eat the roses.


More information about the Columbus-pm mailing list