http://www.perlmonks.org?node_id=1040188


in reply to How does DBI return an arrayref with key/value pairs?

Quote from DBI
If $slice is a hash reference, fetchall_arrayref uses fetchrow_hashref to fetch each row as a hash reference.
Note that you are specifing $slice as a hashref.
Bill
  • Comment on Re: How does DBI return an arrayref with key/value pairs?