my $stmt = qq/SELECT * FROM mytable WHERE id = ?/; my $result = $dbh->selectall_arrayref($stmt, {Slice => {}}, $subscriber_id);