in reply to DBI and arrays
$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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: DBI and arrays
by Anonymous Monk on Jan 17, 2012 at 11:59 UTC | |
by tweetiepooh (Hermit) on Jan 17, 2012 at 13:27 UTC | |
by Anonymous Monk on Jan 17, 2012 at 12:34 UTC | |
by Anonymous Monk on Jan 17, 2012 at 12:46 UTC | |
|
Re^2: DBI and arrays
by Anonymous Monk on Jan 17, 2012 at 11:44 UTC |