TAP::PARSER::ITERATOR::STREAM(3perl)
π TAP::Parser::Iterator::Stream β the manual page, but make it cute β¨
okay so bestie, welcome to TAP::Parser::Iterator::Stream, straight out of the Perl Programmers Reference Guide. this is the whole vibe, let's go π¦
πΈ NAME πΈ
TAP::Parser::Iterator::Stream β the iterator for filehandle-based TAP sources. that's it, that's the whole job description, and she does it flawlessly π
β¨ VERSION β¨
Version 3.52 β iconic behavior, no notes π
π SYNOPSIS π
okay so here's how you actually use her:
use TAP::Parser::Iterator::Stream;
open( TEST, 'test.tap' );
my $it = TAP::Parser::Iterator::Stream->new(\*TEST);
my $line = $it->next;
like... look at that. clean. simple. she ate and left no crumbs π
π DESCRIPTION π
so this is a simple iterator wrapper β she reads from filehandles, that's the whole thing β and she's used by TAP::Parser. lowkey she's the backstage crew making the whole show work π
real talk tho: unless you're writing a plugin or subclassing, you probably won't need to use this module directly. she's not gatekeeping, she's just built different and she's built for the parserβs inner circle π«Ά
π§ METHODS π§
π Class Methods π
newβ creates an iterator, duh π she expects one argument, and that argument is a filehandle. give her the handle and she'll handle it.
πΈ Instance Methods πΈ
nextβ iterates through it. of course. what did you think she was gonna do π that's literally her whole thing.next_rawβ iterates the raw input without applying any fixes for quirky input syntax. raw. unfiltered. no edits, no filter, no touch-ups β just the input exactly as it is, bestie π¦waitβ gets the wait status for this iterator. always returns zero. every single time. zero. she is nothing if not consistent πexitβ gets the exit status for this iterator. always returns zero. again: zero. she's not dramatic, she's just always zero. periodt β¨
π ATTRIBUTION π
originally ripped off from Test::Harness. yes, ripped off β those are the original's words, not mine, and honestly? iconique. she's standing on the shoulders of giants and she knows it π
π SEE ALSO π
go check her friends, they're all in the group chat:
TAP::ObjectTAP::ParserTAP::Parser::Iterator
π§ friendly reminder bestie: every option, method, argument and value up there is exactly as the original says it. no extras, no guessing, no "well I think she probably does X". i would never do you like that π
made with love, zero fixing, all facts π
this was written against perl v5.44.0, dated 2026-10-17, and the manual name is TAP::P...:Stream(3perl) β so like, if you're citing her in an essay, that's the receipt π«Άβ¨
π¦ where this page comes from
- arch rolling: perl 5.44.0-1 Β· Artistic-1.0-Perl AND GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms