1TAP::Parser::Iterator::UAsrerrayC(o3n)tributed Perl DocuTmAePn:t:aPtairosner::Iterator::Array(3)
2
3
4

NAME

6       TAP::Parser::Iterator::Array - Iterator for array-based TAP sources
7

VERSION

9       Version 3.28
10

SYNOPSIS

12         use TAP::Parser::Iterator::Array;
13         my @data = ('foo', 'bar', baz');
14         my $it   = TAP::Parser::Iterator::Array->new(\@data);
15         my $line = $it->next;
16

DESCRIPTION

18       This is a simple iterator wrapper for arrays of scalar content, used by
19       TAP::Parser.  Unless you're writing a plugin or subclassing, you
20       probably won't need to use this module directly.
21

METHODS

23   Class Methods
24       "new"
25
26       Create an iterator.  Takes one argument: an $array_ref
27
28   Instance Methods
29       "next"
30
31       Iterate through it, of course.
32
33       "next_raw"
34
35       Iterate raw input without applying any fixes for quirky input syntax.
36
37       "wait"
38
39       Get the wait status for this iterator. For an array iterator this will
40       always be zero.
41
42       "exit"
43
44       Get the exit status for this iterator. For an array iterator this will
45       always be zero.
46

ATTRIBUTION

48       Originally ripped off from Test::Harness.
49

SEE ALSO

51       TAP::Object, TAP::Parser, TAP::Parser::Iterator,
52
53
54
55perl v5.16.3                      2013-05-02   TAP::Parser::Iterator::Array(3)
Impressum