Perl Monk, Perl Meditation | |
PerlMonks |
Re^3: Does fetchall_arrayref() ever return a NULL?by tangent (Parson) |
on May 06, 2022 at 20:01 UTC ( [id://11143630]=note: print w/replies, xml ) | Need Help?? |
I tried your test using MySQL and it gave the same result. But I checked the handle for errors and it produced "fetch() without execute()". So perhaps returning an empty arrayref is correct, as there was an error. Interesting that SQLite did not throw that error.
In Section
Seekers of Perl Wisdom
|
|