Hi all,

I have a hash that have multiple sub hashes and I want to sort it by a sub
key.

For example, I have:

$comp{$code}{$year}{profit}.

And I want to sort the $code values after the value of the "profit" key.

Is this possible directly, or I will need to create another hash for doing
this type of sort?

Thanks.

Teddy


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to