http://qs321.pair.com?node_id=320260


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.
my @x = (); while( my @arr = fetchrow_array() ) { push(@x, \@arr ); } if( $#x == .... ) else ....
Not compilable in this form, but it's an idea.

Play that funky music white boy..