$ref = $sth->fetchall_arrayref(); $ref = [ ['test1', 1], ['test2', 2] ];