TAP::Pa...::Array(3pm)
πΈ NAME πΈ
okay so this page is the manual for TAP::Parser::Iterator::Array(3pm) β from the Perl Programmers Reference Guide, bestie π«Ά The header does the little truncation thing and shows it as TAP::Pa...::Array(3pm), but the full name is TAP::Parser::Iterator::Array, and it is literally an iterator for array-based TAP sources π
β¨ VERSION β¨
Version 3.50 π
π¦ SYNOPSIS π¦
use TAP::Parser::Iterator::Array;
my @data = ('foo', 'bar', baz');
my $it = TAP::Parser::Iterator::Array->new(\@data);
my $line = $it->next;
π DESCRIPTION π
This is a simple iterator wrapper for arrays of scalar content, used by TAP::Parser. Unless you're writing a plugin or subclassing, you probably won't need to use this module directly. It's giving backstage-pass energy β important, but not the main character for most people πβ¨
π METHODS π
π§Έ Class Methods
β¨ new
Create an iterator. Takes one argument: an $array_ref π
πͺ Instance Methods
β next
Iterate through it, of course. Slay β¨
π next_raw
Iterate raw input without applying any fixes for quirky input syntax. No touch-ups, no filter β raw raw π
β³ wait
Get the wait status for this iterator. For an array iterator this will always be zero. Zero, periodt π«Ά
πͺ exit
Get the exit status for this iterator. For an array iterator this will always be zero. Also zero, bestie π
π ATTRIBUTION π
Originally ripped off from Test::Harness. The lore is the lore π
π SEE ALSO π
TAP::ObjectTAP::ParserTAP::Parser::Iterator
that's the squad, iykyk π¦
source/version:perl v5.42.3Β· date:2026-11-03β bye bestie, go slay some TAP π
π¦ where this page comes from
- alpine 3.24: perl-doc 5.42.3-r0 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms