update: you did notice that selectcol_arrayref returns ALL values in that column, right? I ask because using it to just get the very first row's value will get extremely inefficient fast.if (my $ref = $dbh->selectcol_arrayref($query)) { $param{welcome} = pop @$ref; } elsif ($DBI::err) { die $dbh->errstr; } else { # nothing returned, but no error? }
In reply to Re^3: DBI - selectcol_arrayref not working
by Joost
in thread DBI - selectcol_arrayref not working
by PaulBerry
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |