DBIx::Skinny::Iterator
skinny iteration class.
my $itr = Your::Model->search('user',{}); $itr->count; # show row counts my $row = $itr->first; # get first row $itr->reset; # reset itarator potision my @rows = $itr->all; # get all rows # do iteration while (my $row = $itr->next) { }
To install DBIx::Skinny, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DBIx::Skinny
CPAN shell
perl -MCPAN -e shell install DBIx::Skinny
For more information on module installation, please visit the detailed CPAN module installation guide.