On Sat, 29 Dec 2001, Sam Tregar wrote:
> An array of references to hashes is perfect, but you should read the docs
> for DBI::fetchrow_hashref. My memory is that it will return a reference
> to the same hash everytime. I think you'll need to make a private copy of
> the hash or you'll end up with an array containing a list of references to
> the last row in your dataset!
>From DBI's manpage:
Currently, a new hash reference is returned for each
row. This will change in the future to return the
same hash ref each time, so don't rely on the current
behaviour.
--
Chris Reinhardt
[EMAIL PROTECTED]
Systems Architect
Dynamic DNS Network Services
http://www.dyndns.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]