Test::Harness::Iterator - Internal Test::Harness Iterator
use Test::Harness::Iterator; my $it = Test::Harness::Iterator->new(\*TEST); my $it = Test::Harness::Iterator->new(\@array); my $line = $it->next;
FOR INTERNAL USE ONLY!
This is a simple iterator wrapper for arrays and filehandles.
Create an iterator.
Iterate through it, of course.
To install Test::Harness, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::Harness
CPAN shell
perl -MCPAN -e shell install Test::Harness
For more information on module installation, please visit the detailed CPAN module installation guide.