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.34.0 2022-01-21 Test::Harness::Iterator(3)