... use DBI; ... my $DB = DBI->connect(...); my $ar = $DB->selectall_arrayref(<