HTML::...ontext(3pm)
π NAME π
HTML::Mason::Plugin::Context β the lil' glow-up wrapper that holds onto all the args passed to plugin methods β¨
Okay so real talk, this page is from the User Contributed Perl Documentation corner of the manual-verse, and its whole job is to introduce HTML::Mason::Plugin::Context β yes bestie, that whole HTML::...ontext(3pm) thing in the header is just the terminal being dramatic and truncating the name π
π¦ DESCRIPTION π¦
This file is where the minimalist context classes live. They get instantiated every single time a plugin hook fires β like, every time, no skips π If you wanna know the tea about plugins themselves, go read HTML::Mason::Plugin, that's the main character of that storyline π
Not me telling you these objects are minimalist β because fr fr, they are. For efficiency, these objects have no new() method. None. Zero. Nada. They're not constructed the polite way at all π
Instead, they get created and blessed by hand inside HTML::Mason::Request, right before they're used. Hand-blessed. Artisanal. Small-batch. It's giving cottage-core object construction π§
and that's the whole page, bestie β short, sweet, and slaying ππ
perl v5.38.2 Β· 2024-03-05 β mwah, kisses, go read HTML::Mason::Plugin next π«Άπ
π¦ where this page comes from
- debian trixie: libhtml-mason-perl 1:1.60-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libhtml-mason-perl 1:1.60-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libhtml-mason-perl 1:1.60-2 Β· 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