For some reason I don't have the option to use fetchall_array - do I have an old DBI?
Here's what perldoc DBI tells me I can use:
@row_ary = $sth->fetchrow_array;
$ary_ref = $sth->fetchrow_arrayref;
$hash_ref = $sth->fetchrow_hashref;
$ary_ref = $sth->fetchall_arrayref;
The query I'm using is SELECT Email FROM Members
What would be the best way to get the values into a hash?
Here's what perldoc DBI tells me I can use:
@row_ary = $sth->fetchrow_array;
$ary_ref = $sth->fetchrow_arrayref;
$hash_ref = $sth->fetchrow_hashref;
$ary_ref = $sth->fetchall_arrayref;
The query I'm using is SELECT Email FROM Members
What would be the best way to get the values into a hash?