1Test::Harness::IteratorU(s3e)r Contributed Perl DocumentaTteisotn::Harness::Iterator(3)
2
3
4
6 Test::Harness::Iterator - Internal Test::Harness Iterator
7
9 use Test::Harness::Iterator;
10 my $it = Test::Harness::Iterator->new(\*TEST);
11 my $it = Test::Harness::Iterator->new(\@array);
12
13 my $line = $it->next;
14
16 FOR INTERNAL USE ONLY!
17
18 This is a simple iterator wrapper for arrays and filehandles.
19
20 new()
21 Create an iterator.
22
23 next()
24 Iterate through it, of course.
25
26
27
28perl v5.30.1 2020-01-30 Test::Harness::Iterator(3)