HTML::...r::File(3pm)
π HTML::...r::File(3pm) π
ok so this is a page from the User Contributed Perl Documentation, and it's all about HTML::Mason::Resolver::File, bestie. sit down, hydrate, let's get into it π«Ά
β¨ NAME β¨
HTML::Mason::Resolver::File β the component path resolver for file-based components. it literally resolves paths, that's its whole thing, and it eats every time π
πΈ SYNOPSIS πΈ
my $resolver = HTML::Mason::Resolver::File->new();
my $info = $resolver->get_info('/some/comp.html');
look at her. construct the resolver, hand her a path, get info back. no notes, iconic behaviour fr fr β¨
π¦ DESCRIPTION π¦
ok so this is an HTML::Mason::Resolver subclass, and you reach for it when your components live on the filesystem. which, ngl, is the norm for basically most Mason-based applications. so likeβ¦ she's the main character, you're gonna be seeing a lot of her π
bestie reminder: this is a subclass, so the parent class HTML::Mason::Resolver is doing a lot of the heavy lifting underneath. she's just the filesystem-flavoured version π
and that's the whole page, we ate and left no crumbs π this gem of a doc ships with perl v5.38.2, dated 2024-03-05, and it's part of the User Contributed Perl Documentation collection. go forth and resolve some paths, you've got this πβπ
π¦ 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