1TAP::Parser::Iterator::USsterreaCmo(n3t)ributed Perl DocTuAmPe:n:tPaatrisoenr::Iterator::Stream(3)
2
3
4

NAME

6       TAP::Parser::Iterator::Stream - Iterator for filehandle-based TAP
7       sources
8

VERSION

10       Version 3.42
11

SYNOPSIS

13         use TAP::Parser::Iterator::Stream;
14         open( TEST, 'test.tap' );
15         my $it   = TAP::Parser::Iterator::Stream->new(\*TEST);
16         my $line = $it->next;
17

DESCRIPTION

19       This is a simple iterator wrapper for reading from filehandles, used by
20       TAP::Parser.  Unless you're writing a plugin or subclassing, you
21       probably won't need to use this module directly.
22

METHODS

24   Class Methods
25       "new"
26
27       Create an iterator.  Expects one argument containing a filehandle.
28
29   Instance Methods
30       "next"
31
32       Iterate through it, of course.
33
34       "next_raw"
35
36       Iterate raw input without applying any fixes for quirky input syntax.
37
38       "wait"
39
40       Get the wait status for this iterator. Always returns zero.
41
42       "exit"
43
44       Get the exit status for this iterator. Always returns zero.
45

ATTRIBUTION

47       Originally ripped off from Test::Harness.
48

SEE ALSO

50       TAP::Object, TAP::Parser, TAP::Parser::Iterator,
51
52
53
54perl v5.26.3                      2018-03-19  TAP::Parser::Iterator::Stream(3)
Impressum