on Wed, 29 May 2002 16:10:40 GMT, [EMAIL PROTECTED] (Janek 
Schleicher) wrote:

> Oops, there's a typo :-((
> 
> Of course, I meant
> @sorted = reverse sort { $myhash{$a} <=> $myhash{b} } keys %myhash;

There's another typo.

And I'd rather add 
  
    # sort keys in descending numerical order

than suffering a substantial speed penalty by using 'reverse'.

-- 
felix

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to