in reply to Does fetchall_arrayref() ever return a NULL?
What DBMS?
What SQL statement?
Where is the code example?
What expected output?