Just another Perl shrine | |
PerlMonks |
Re: array references in DBIby Fletch (Bishop) |
on May 13, 2006 at 02:45 UTC ( [id://549160]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|