Re: using reference to the fetched rows

2005-04-22 Thread Manish Sapariya
Should have read perldoc DBI 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 refer

using reference to the fetched rows

2005-04-22 Thread Manish Sapariya
Hi list, When using DBI module as, my $return_list = $sth->fetchrow_arrayref; Can I copy the reference to some other variable say, e.g. my $CopyOfResult = $return_list; and do another query using the same handle and use $CopyOfResult and $return_list? My question is how does perl will release the m