TAP::Parser::Iterator::Stream(3p) Perl Programmers Reference Guide

TAP::Parser::Iterator::Stream(3p) Perl Programmers Reference Guide #

TAP::Parser::Iterator::Stream(3p) Perl Programmers Reference Guide

NNAAMMEE #

 TAP::Parser::Iterator::Stream - Iterator for filehandle-based TAP sources

VVEERRSSIIOONN #

 Version 3.44

SSYYNNOOPPSSIISS #

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

DDEESSCCRRIIPPTTIIOONN #

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

MMEETTHHOODDSS #

CCllaassss MMeetthhooddss _"_n_e_w_"

 Create an iterator.  Expects one argument containing a filehandle.

IInnssttaannccee MMeetthhooddss _"_n_e_x_t_"

 Iterate through it, of course.

 _"_n_e_x_t___r_a_w_"

 Iterate raw input without applying any fixes for quirky input syntax.

 _"_w_a_i_t_"

 Get the wait status for this iterator. Always returns zero.

 _"_e_x_i_t_"

 Get the exit status for this iterator. Always returns zero.

AATTTTRRIIBBUUTTIIOONN #

 Originally ripped off from Test::Harness.

SSEEEE AALLSSOO #

 TAP::Object, TAP::Parser, TAP::Parser::Iterator,

perl v5.36.3 2023-02-15 TAP::Parser::Iterator::Stream(3p)