Teng::Iterator - Iterator for Teng
This is an iterator class for Teng.
my $itr = Your::Model->search('user',{}); my @rows = $itr->all; # get all rows # do iteration while (my $row = $itr->next) { ... }
Create new Teng::Iterator's object. You may not call this method directly.
Get next row data.
Get all row data in array.
Set row object creation mode.
1 POD Error
The following errors were encountered while parsing the POD:
=over without closing =back
To install Teng, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Teng
CPAN shell
perl -MCPAN -e shell install Teng
For more information on module installation, please visit the detailed CPAN module installation guide.