Test::Harness::Iterator

Perl 5 version 8.8 documentation

Test::Harness::Iterator

NAME

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

SYNOPSIS

  1. use Test::Harness::Iterator;
  2. my $it = Test::Harness::Iterator->new(\*TEST);
  3. my $it = Test::Harness::Iterator->new(\@array);
  4. 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.

 

Recently read

Tools