1TAP::Parser::Iterator::USsterreaCmo(n3t)ributed Perl DocTuAmPe:n:tPaatrisoenr::Iterator::Stream(3)
2
3
4
6 TAP::Parser::Iterator::Stream - Iterator for filehandle-based TAP
7 sources
8
10 Version 3.42
11
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
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
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
47 Originally ripped off from Test::Harness.
48
50 TAP::Object, TAP::Parser, TAP::Parser::Iterator,
51
52
53
54perl v5.32.1 2021-01-27 TAP::Parser::Iterator::Stream(3)