Re: Reading hash arrays in the order it was written

2008-11-20 Thread Cowboy
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

Re: Reading hash arrays in the order it was written

2008-11-19 Thread Foo JH
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

Re: Reading hash arrays in the order it was written

2008-11-19 Thread Ingo Schwarze
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

Re: Reading hash arrays in the order it was written

2008-11-19 Thread p sena
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:

RE: Reading hash arrays in the order it was written

2008-11-19 Thread Brian Raven
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

RE: Reading hash arrays in the order it was written

2008-11-19 Thread Henry Hartley
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

Reading hash arrays in the order it was written

2008-11-19 Thread Fish, David
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