Hi,
The module "Tie::Hash" might be one of the solutions that you are looking for.
Regards,
G. Indragoby.
--- On Wed, 19/11/08, Fish, David <[EMAIL PROTECTED]> wrote:
From: Fish, David <[EMAIL PROTECTED]>
Subject: Reading hash arrays in the order it was
Fish, David wrote:
> Hello! The problem I am having is I am pulling data from a table in a
> certain order and loading it into the hash array but when I read the
> hash array it comes out in a different order than it is written. What I
> have done as a work around, is the read the data from a fi
Hi David,
> The problem I am having is I am pulling data from a table in a
> certain order and loading it into the hash array but when I read the
> hash array it comes out in a different order than it is written.
When you need order and iterating, but no random access, use ARRAYs.
When you need k
n Wed, 11/19/08, Fish, David <[EMAIL PROTECTED]> wrote:
> From: Fish, David <[EMAIL PROTECTED]>
> Subject: Reading hash arrays in the order it was written
> To: activeperl@listserv.activestate.com, [EMAIL PROTECTED], [EMAIL PROTECTED]
> Date: Wednesday, November 19, 2008, 9:
Fish, David <> wrote:
> Hello! The problem I am having is I am pulling data from a table in
> a certain order and loading it into the hash array but when I read
> the hash array it comes out in a different order than it is written.
> What I have done as a work around, is the read the data from a
Fish, David wrote:
>> Hello! The problem I am having is I am pulling data from a table
>> in a certain order and loading it into the hash array but when I
>> read the hash array it comes out in a different order than it is
>> written. What I have done as a work around, is the read the data
>> fr
Hello! The problem I am having is I am pulling data from a table in a
certain order and loading it into the hash array but when I read the
hash array it comes out in a different order than it is written. What I
have done as a work around, is the read the data from a file that has it
in the correc