TAP::P...ersion(3perl)
π TAP::Parser::Result::Version β bestie edition
ok so real talk, this is the Perl Programmers Reference Guide page for TAP::Parser::Result::Version, and yes it lives in the perl manual (section 3perl, iykyk). Buckle up, it's short but it's iconic π¦
β¨ NAME β¨
TAP::Parser::Result::Version β the TAP syntax version token, periodt π
β¨ VERSION β¨
Version 3.52 β¨ (yes that's the version, we're all very proud)
β¨ DESCRIPTION β¨
so basically this is a subclass of TAP::Parser::Result, no cap. When the parser bumps into a version line, this is the class of token it hands you back π
TAP version 13
ok 1
not ok 2
and fun fact bestie: the first version of TAP to actually include an explicit version number is 13. that's the whole lore fr fr π
β¨ OVERRIDDEN METHODS β¨
ngl these are listed here mainly to shut up the pitiful screams of the pod coverage tests. they keep me awake at night π like genuinely.
as_stringraw
πΈ Instance Methods πΈ
version
like, okay, here's how you'd actually use it:
if ( $result->is_version ) {
print $result->version;
}
and plot twist, it's merely a synonym for as_string. that's it. that's the method. no extra behaviour, no secret sauce, just a cute little alias π«Ά
π§ reminder: subclass ofTAP::Parser::Result, returned when a version line shows up,versionis justas_stringwearing a different outfit. do not invent extra powers for it, bestie, that's not the vibe π
kisses, this page was served to you by perl v5.44.0, dated 2026-10-17. slay πβ¨
π¦ 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