in reply to Re^2: Ordering Template cards
in thread Ordering Template cards
As a suggestion, I most often use fetchall_arrayref.
Something like:
This does expand the memory used by Perl to include the entire result set. But that is fine if the result set is "small" and the memory used for that result is recycled for further use by Perl. "Small" is a relative term. Nowadays, I would consider a 10,000 line result set as "small".my $card_ref = $cards->fetchall_arrayref; foreach my $card (@$card_ref) {..}
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Ordering Template cards
by bliako (Abbot) on Jan 26, 2021 at 10:38 UTC | |
by Marshall (Canon) on Jan 28, 2021 at 06:30 UTC | |
by bliako (Abbot) on Jan 28, 2021 at 10:19 UTC | |
by Marshall (Canon) on Jan 30, 2021 at 01:42 UTC |