http://www.perlmonks.org?node_id=549160


in reply to array references in DBI

If you read the DBI documentaion for fetchrow_arrayref it explicitly notes that it returns a reference to the same array each time it's called (I believe for efficiency reasons) and that you shouldn't try and use it after a subsequent fetch and expect the old data.

Replies are listed 'Best First'.
Re^2: array references in DBI
by BrianC (Acolyte) on May 13, 2006 at 03:02 UTC
    Thank you. I misunderstood the significance of "subsequent fetch". Brian