No problems there. But, I'd _also_ like to send the result to a function where I want to iterate over the resultset once more.$sth = $dbh->prepare("MY SQL QUERY"); $sth->execute(); while (my $rad = $sth->fetchrow_hashref()) { $a_variable = $rad->{'Some_column'}; } $sth->finish();
Can I do it, and in that case where and how?&DoSomeTreatment($sth???);
In reply to Passing DBI resultset to function by DreamT
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |