http://qs1969.pair.com?node_id=602643


in reply to dbi_query_iterator and my misunderstanding the $row

I think this is because fetchrow_arrayref uses the same location in memory every time, as the DBI docs state: Note that the same array reference is returned for each fetch, so don't store the reference and then use it after a later fetch. Also, the elements of the array are also reused for each row, so take care if you want to take a reference to an element.

Jeff japhy Pinyan, P.L., P.M., P.O.D, X.S.: Perl, regex, and perl hacker
How can we ever be the sold short or the cheated, we who for every service have long ago been overpaid? ~~ Meister Eckhart