Michael G Schwern > Test-Harness-Straps-0.30 > Test::Harness::Iterator

Download:
Test-Harness-Straps-0.30.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.02   Source  

NAME ^

Test::Harness::Iterator - Internal Test::Harness Iterator

SYNOPSIS ^

  use Test::Harness::Iterator;
  my $it = Test::Harness::Iterator->new(\*TEST);
  my $it = Test::Harness::Iterator->new(\@array);

  my $line = $it->next;

DESCRIPTION ^

FOR INTERNAL USE ONLY!

This is a simple iterator wrapper for arrays and filehandles.

new()

Create an iterator.

next()

Iterate through it, of course.

syntax highlighting: