Re: fetchrow_arrayref vs fetchall_arrayref: memory management?

2006-06-19 Thread Tim Bunce
On Sat, Jun 17, 2006 at 03:43:44PM -0500, Erik Paulson wrote: > Hello - > > fetchrow_arrayref has a big warning that you need to copy the data > in the array before using it, because the next call to fetchrow_arrayref > will reuse the array. > > Does fetchall_arrayref have similiar limitations, a

fetchrow_arrayref vs fetchall_arrayref: memory management?

2006-06-17 Thread Erik Paulson
Hello - fetchrow_arrayref has a big warning that you need to copy the data in the array before using it, because the next call to fetchrow_arrayref will reuse the array. Does fetchall_arrayref have similiar limitations, and if so do they just apply to the array of arrarys, or the arrays in the ar