1TAP::Parser::Iterator::SPterrelamP(r3opgmr)ammers ReferTeAnPc:e:PGaurisdeer::Iterator::Stream(3pm)
2
3
4

NAME

6       TAP::Parser::Iterator::Stream - Internal TAP::Parser Iterator
7

VERSION

9       Version 3.17
10

SYNOPSIS

12         # see TAP::Parser::IteratorFactory for preferred usage
13
14         # to use directly:
15         use TAP::Parser::Iterator::Stream;
16         open( TEST, 'test.tap' );
17         my $it   = TAP::Parser::Iterator::Stream->new(\*TEST);
18         my $line = $it->next;
19

DESCRIPTION

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

METHODS

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

ATTRIBUTION

49       Originally ripped off from Test::Harness.
50

SEE ALSO

52       TAP::Object, TAP::Parser, TAP::Parser::Iterator,
53       TAP::Parser::IteratorFactory,
54
55
56
57perl v5.12.4                      2011-06-07TAP::Parser::Iterator::Stream(3pm)
Impressum