http://qs1969.pair.com?node_id=602791


in reply to Re: dbi_query_iterator and my misunderstanding the $row
in thread dbi_query_iterator and my misunderstanding the $row

Thanks! But why return $oldrow->[0] instead of just $row->[0]?

my $oldrow = $row; $row = $sth->fetchrow_arrayref; return $oldrow->[0];

Jason L. Froebe

Help find a cure for breast cancer! Net proceeds benefit the Susan G. Komen Breast Cancer Foundation and the National Philanthropic Trust. Help by donating - I'm walking 60 miles in 3 days in August 2007. (The day I return from TechWave is the first day of the Walk).

Blog, Tech Blog