in reply to Re: DBI::fetchall_arrayref() error
in thread DBI::fetchall_arrayref() error

I tried to print out $count, and the value was -1, when I actually selected 1000 rows back. So there is no way this will work, at least for my 1.39 version.