On 05/10/00, "byron wise <[EMAIL PROTECTED]>" wrote:
> I have a hash that needs to be sorted acording to the keys.  Then put the
> values in an array.  Will the following work?

Here's one way:

my @array = @hash{sort keys %hash};

HTH,
Douglas Wilson

---
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