Andrew Bastien wrote:

> In the spirit of TIMTOWDI, you can also do:
> 
> sort {$thehash{$a} <=> $thehash{$b}} keys %thehash

That sorts the keys by the values. He wanted to sort the values
by the keys.


-- 
Ned Konz
currently: Stanwood, WA
email:     [EMAIL PROTECTED]
homepage:  http://www.bike-nomad.com

---
You are currently subscribed to perl-win32-users as: [archive@jab.org]
To unsubscribe, forward this message to
         [EMAIL PROTECTED]
For non-automated Mailing List support, send email to  
         [EMAIL PROTECTED]

Reply via email to