in reply to Passing DBI resultset to function
Seems like you have several options.
You could:
while (my $rad = $sth->fetchrow_hashref()) { $a_variable = $rad->{'Some_column'}; &DoSomeTreatment($rad); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Passing DBI resultset to function
by DreamT (Pilgrim) on Dec 17, 2009 at 11:26 UTC | |
|
Re^2: Passing DBI resultset to function
by afoken (Chancellor) on Dec 18, 2009 at 00:33 UTC |