Is selectrow_array really supposed to return an empty list

2005-12-06 Thread Martin J. Evans
The documentation for selecrow_array in DBI 1.49 says: If any method fails, and RaiseError is not set, selectrow_array will return an empty list. use DBI; use strict; use Data::Dumper; my $dbh = DBI-connect('dbi:mysql:xxx','yyy','zzz'); $dbh-{RaiseError} = 0; $dbh-{PrintError} = 0; my @r =

Re: Is selectrow_array really supposed to return an empty list

2005-12-06 Thread Tim Bunce
Looks like a bug. The C version of selectrow_array is using XSRETURN_UNDEF which will return an undef not an empty list. Patch to follow, hopefully today. Thanks! Tim. On Tue, Dec 06, 2005 at 11:41:18AM -, Martin J. Evans wrote: The documentation for selecrow_array in DBI 1.49 says: If