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_string
  • raw

🌸 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 of TAP::Parser::Result, returned when a version line shows up, version is just as_string wearing 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