, Dzenan [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 22, 2005 2:19 PM
To: beginners@perl.org
Subject: HASH keys in exact order
I am trying to print HASH keys in exact order as they are defined, but
"keys %HASH" returns them in a random order, "sort" is not going to work
eit
On Thu, Dec 22, 2005 at 05:18:35PM -0500, Causevic, Dzenan wrote:
> I am trying to print HASH keys in exact order as they are defined, but
> "keys %HASH" returns them in a random order, "sort" is not going to
> work either because keys are strings that are not define
I am trying to print HASH keys in exact order as they are defined, but "keys
%HASH" returns them in a random order, "sort" is not going to work either
because keys are strings that are not defined in the exact alphabetical order.
Is there a way to get %HASH keys in the or