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 thatdatais 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