in reply to Re^2: Tie'ing a dbh result set?
in thread Tie'ing a dbh result set?
If you can guarantee that the array will only be accessed:
- in order
- read only
- only once per element
- you know how many elements there are
foreach my $result_ref (@array) { process($result_ref); }
Otherwise, please explain how you make it function as an iterator.
|
---|
In Section
Seekers of Perl Wisdom