in reply to Speeding up the DBI
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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Speeding up the DBI
by hippo (Bishop) on Aug 03, 2022 at 11:04 UTC |
In Section
Meditations