in reply to Re: Re: (jeffa) Re: Sorting Numbers
in thread Sorting Numbers

Except of course $a and $b aren't actually passed into the sort function like that. Which is presumeably why that line is commented out :-)

Blessed Be
The Pixel

  • Comment on Re: Re: Re: (jeffa) Re: Sorting Numbers

Replies are listed 'Best First'.
Re: Re: Re: Re: (jeffa) Re: Sorting Numbers
by educated_foo (Vicar) on Nov 07, 2001 at 05:16 UTC
    Argh, how disgusting. But this should probably do the trick:
    local ($a, $b) = ($b, $a)