in reply to treat each result line individually in SELECT statement Perl-Mysql
my $ref; $sth->fetchrow_arrayref; # discard the first row while($ref = $sth->fetchrow_arrayref) { ... [download]
... or use an OFFSET in your SQL.