Manual Reference Pages  - Test::Harness::Iterator (3pm)

NAME

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

CONTENTS

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.


perl v5.8.8 Test::Harness::Iterator (3pm) 2001-09-21
blog comments powered by Disqus