in reply to problems with DBI::selectcol_arrayref

More information:

I'm having the same problem with selectall_hashref...

For a properly formatted SQL statement, the following code:

my $rl = $dbh->selectall_arrayref( $sql ); print ref $rl, "\n";

yields: ARRAY. However, the following code:

my $rl = $dbh->selectall_hashref( $sql ); print ref $rl, "\n";

yields nothing (empty).

What up?