Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
So my second question is this a good method in term of processing speed.# prepare and execute statement my $array_ref = $sth->fetchall_arrayref(); # we want 0 through 20 foreach my $row (@$array_ref[0 .. 20]) { # do something }
Edit kudra, 2002-05-10 Added code tags
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How can I retrieve records X to Y using DBI?
by gmax (Abbot) on May 10, 2002 at 09:53 UTC |