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