in reply to fetchall_arrayref DBI question ?

Required reading

You could basically have:

sub _fetchall { my ($self,%arg) = @_; my $stm = "select * from $arg{table}"; return $dbh->selectall_arrayref($stmt, {Slice => {}}); }

No need to prepare or excute. It's all done for you.

—Brad
"The important work of moving the world forward does not wait to be done by perfect men." George Eliot