in reply to Re^4: Counting number of rows while working with Oracle
in thread Counting number of rows while working with Oracle

That's why I followed those two lines with foreach my $row (@$rows) instead of while (my $row = $sth->fetchrow_hashref).