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_stringraw
π¦ 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
- alpine 3.24: perl-doc 5.42.3-r0 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms