in reply to fetchrow_array return value
my fave is to have an array for results, populate it. If the array has 0 array elements in it, return as if no rows returned, or continue as such.
Play that funky music white boy..
Not compilable in this form, but it's an idea.my @x = (); while( my @arr = fetchrow_array() ) { push(@x, \@arr ); } if( $#x == .... ) else ....
Play that funky music white boy..
In Section
Seekers of Perl Wisdom