TAP::Parser::Iterator::Stream - Internal TAP::Parser Iterator


NAME

TAP::Parser::Iterator::Stream - Internal TAP::Parser Iterator


VERSION

Version 3.10


SYNOPSIS

  use TAP::Parser::Iterator;
  my $it = TAP::Parser::Iterator::Stream->new(\*TEST);
  my $line = $it->next;

Originally ripped off from the Test::Harness manpage.


DESCRIPTION

FOR INTERNAL USE ONLY!

This is a simple iterator wrapper for filehandles.

Class Methods

new

Create an iterator.

Instance Methods

next

Iterate through it, of course.

next_raw

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

wait

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

exit

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

 TAP::Parser::Iterator::Stream - Internal TAP::Parser Iterator