in reply to Re^2: Why a reference, not a hash/array?in thread Why a reference, not a hash/array?
fetchall_arrayref fetches rows and each row may contain many fields, hence the AoA structure.