TAP::Parser::Iterator::Array - Internal TAP::Parser Iterator
Version 2.99_01
use TAP::Parser::Iterator::Array; my $it = TAP::Parser::Iterator->new(\@array); my $line = $it->next;
Originally ripped off from Test::Harness.
FOR INTERNAL USE ONLY!
This is a simple iterator wrapper for arrays.
new
Create an iterator.
next
Iterate through it, of course.
next_raw
Iterate raw input without applying any fixes for quirky input syntax.
wait
Get the wait status for this iterator. For an array iterator this will always be zero.
exit
Get the exit status for this iterator. For an array iterator this will always be zero.
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.