TAP::PARSER::RESULT::PRAGMA(3pm)

πŸŽ€ NAME πŸŽ€

okay so welcome to the manual page for TAP::Parser::Result::Pragma(3pm), bestie πŸ’– this page lives in the Perl Programmers Reference Guide, and the class it’s hyping up is TAP::Parser::Result::Pragma β€” literally the TAP pragma token class. slay. ✨

🌸 VERSION 🌸

Version 3.50 β€” periodt. ✨

✨ DESCRIPTION ✨

TAP::Parser::Result::Pragma is a subclass of TAP::Parser::Result, no cap. A token of this class gets returned when a pragma is encountered β€” it’s giving special little result token energy. πŸ¦‹

here’s the example vibe:

TAP version 13
pragma +strict, -foo
⚠️ important: Pragmas are only supported from TAP version 13 onwards. Don’t come for me, that’s just the rule πŸ’…

πŸ’… OVERRIDDEN METHODS πŸ’…

okay so this list is mainly here to shut up the pitiful screams of the pod coverage tests β€” fr fr, they keep me awake at night 😭. the overridden methods are:

  • as_string
  • raw

πŸ¦‹ Instance Methods πŸ¦‹

pragmas

if you’re checking whether the result is a pragma and then grabbing the pragmas, it looks like this:

if ( $result->is_pragma ) {
    @pragmas = $result->pragmas; }

bye bestie 🫢 this page is from perl v5.42.3, dated 2026-11-03, and the footer name is TAP::Pa...::Pragma(3pm) β€” iconic little timestamp moment πŸ’–βœ¨

πŸ“¦ where this page comes from