Catmandu::IterableOnce - Role for iterable classes that can only iterate once
package MySingleUseIterator; use Moo; with 'Catmandu::Iterable'; with 'Catmandu::Iterableonce'; sub generator { # ... }
Catmandu::Iterable.
To install Catmandu, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catmandu
CPAN shell
perl -MCPAN -e shell install Catmandu
For more information on module installation, please visit the detailed CPAN module installation guide.