TAP::PARSER::RESULT::YAML(3perl)

πŸ’– NAME πŸ’–

TAP::Parser::Result::YAML β€” the YAML result token, bestie. That's it, that's the whole name.


✨ VERSION ✨

Version 3.52 πŸŽ€ (yes, she's got a version number, she's official)


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so listen. This is a subclass of TAP::Parser::Result. Like, it's in the family, it inherited the vibes. πŸ’…

A token of this class gets returned whenever a YAML block is encountered. That's the whole thing. That's her job. Iconic, honestly.

1..1
ok 1 - woo hooo!

And just so we're clear: 1..1 is the plan. Gotta have a plan. No plan, no party. πŸŽ‰


πŸ‘‘ OVERRIDDEN METHODS πŸ‘‘

ngl these are mainly listed here to shut up the pitiful screams of the pod coverage tests 😭 like they literally keep me awake at night, they're so loud, it's giving haunted house.

  • as_string 🫢
  • raw 🫢

🌸 Instance Methods 🌸

  • data β€” Return the parsed YAML data for this result ✨

Here's how you'd actually use her:

if ( $result->is_yaml ) {
   print $result->data;
}

lowkey the most important part: if you're checking $result->is_yaml, that's your green flag that data is gonna give you the parsed YAML. πŸ“

and that's a wrap, bestie!! this page is from perl v5.44.0, dated 2026-10-17, and it's TAP::Parser::Result::YAML(3perl) β€” go forth and parse your YAML blocks, you absolute main character πŸ‘‘πŸ’œ

πŸ“¦ 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