On 2002.08.31, Daniel Berger <djberge / v55host11.interprise.com> wrote:
> I realize one solution is to just dup the row in "myiter", 
> but I wanted to check.

You always want to #dup a row returned from a DBI fetch.  The underlying
implementation re-uses the pointer, so from one fetch to the next,
the data the row references will change.

To prevent that from changing references to previously fetched rows,
those need to be #dup's of the original fetched row.

-- Dossy

-- 
Dossy Shiobara                       mail: dossy / panoptic.com 
Panoptic Computer Network             web: http://www.panoptic.com/ 
  "He realized the fastest way to change is to laugh at your own
    folly -- then you can let go and quickly move on." (p. 70)