$ary_ref = $dbh->selectall_arrayref($statement, \%attr, @bind_values);
So selectall_arrayref expects a hash reference as second argument, which you didn't pass. If you don't want to pass any %attr's, just pass undef (or if that doesn't work, a reference to an empty hash, {}) as second argument.
In reply to Re: DBI and arrays
by moritz
in thread DBI and arrays
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |