TAP::Parser::Iterator::Array.3pm-3.09

Langue: en

Version: 2008-02-08 (mandriva - 01/05/08)

Section: 3 (Bibliothèques de fonctions)

NAME

TAP::Parser::Iterator::Array - Internal TAP::Parser Iterator

VERSION

Version 3.09

SYNOPSIS

   use TAP::Parser::Iterator::Array;
   my $it = TAP::Parser::Iterator->new(\@array);
 
   my $line = $it->next;
 
 

Originally ripped off from Test::Harness.

DESCRIPTION

FOR INTERNAL USE ONLY!

This is a simple iterator wrapper for arrays.

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. For an array iterator this will always be zero.

"exit"

Get the exit status for this iterator. For an array iterator this will always be zero.