"be consistent" | |
PerlMonks |
Re: Speeding up the DBIby nigelhorne (Initiate) |
on Jun 07, 2018 at 14:12 UTC ( [id://1216113]=note: print w/replies, xml ) | Need Help?? |
Great ideas, thank you. However
my $rowcache;
while (my $aref = shift(@$rowcache)
|| shift ( @{$rowcache= $sth->fetchall_arrayref(undef, $max_rows)} )
)
fails (presumably when there is nothing left) with
Can't use an undefined value as an ARRAY reference
So some refactoring is neede.
In Section
Meditations
|
|