Text::...pe::Raw(3pm)
π NAME π
Text::Xslate::Type::Raw β bestie, it's the raw string representation, and it's here to stay unescaped β¨
(this one's from the User Contributed Perl Documentation, section 3pm β iykyk π«Ά)
πΈ DESCRIPTION πΈ
So basically? This class is the β¨main characterβ¨ that wraps up raw strings so that Xslate is literally not allowed to escape them. That's the whole vibe. That's the job. No cap. π
heads up bestie π¨ you cannot extend this class. Like, at all. Don't try it. It's not giving "subclass me" energy, it's giving "look but don't touch" energy. π«π§
π METHODS π
π new
creates a new instance, fr fr. fresh out the box, sparkling, iconic β¨
π as_string
this method is overload to string π¦ β which means the raw string knows how to show itself off when you ask nicely:
print Text::Xslate::Type::Raw->new('raw_string')->as_string
print Text::Xslate::Type::Raw->new('raw_string') # the same, because of overload
see how the second line does the exact same thing without the method call? that's the overload doing its little β¨magic trickβ¨, periodt. πͺ
π SEE ALSO π
nothing else listed here bestie, this page is a one-module show π
okay that's the whole page, you ate that π this little gem is running on perl v5.42.3 and the docs got their glow-up on 2026-08-22 β mwah, slay, go forth and keep your strings raw ππ
π¦ where this page comes from
- ubuntu stonking: libtext-xslate-perl 3.5.9-2build2 Β· Artistic-1.0-Perl OR 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