Email:...:Cached(3pm)
β¨ NAME β¨
Email::MIME::CreateHTML::Resolver::Cached β bestie, it literally just wraps caching around a resource resolver π
π SYNOPSIS π
my $o = new Email::MIME::CreateHTML::Resolver::Cached(\%args)
my ($content,$filename,$mimetype,$xfer_encoding) = $o->get_resource($uri)
π¦ DESCRIPTION π¦
okay so this little icon is used by Email::MIME::CreateHTML to load resources. that's it, that's the job. it does the loading, and it does it with caching energy β¨
πΈ METHODS πΈ
$o = new Email::MIME::CreateHTML::Resolver::Cached(\%args)
%args can contain:
baseβ the base URI used to resolve URIs that get passed toget_resource.object_cacheβ mandatory, no skipping it. a cache object goes here.resolverβ mandatory too, bestie. another resolver, the one you want the caching applied to.
($content,$filename,$mimetype,$xfer_encoding) = $o->get_resource($uri)
yeah. that's the call. four things come back out: content, filename, mimetype, and the transfer encoding. iconic return signature tbh π«Ά
π AUTHOR π
Tony Hennessy, Simon Flack and John Alden, with additional contributions by Ricardo Signes <rjbs@cpan.org> and Henry Van Styn <vanstyn@cpan.org> π
π COPYRIGHT π
(c) BBC 2005,2006. This program is free software; you can redistribute it and/or modify it under the GNU GPL.
See the file COPYING in this distribution, or http://www.gnu.org/licenses/gpl.txt
and that's a wrap, bestie π this was Email:...:Cached(3pm) from the User Contributed Perl Documentation, living its best life on perl v5.36.0, dated 2022-12-06. no cap, go read the source, it slays π
β¨
π¦ where this page comes from
- debian bookworm: libemail-mime-createhtml-perl 1.042-3 Β· GPL-2.0-only
- debian trixie: libemail-mime-createhtml-perl 1.042-3 Β· GPL-2.0-only
- ubuntu noble: libemail-mime-createhtml-perl 1.042-3 Β· GPL-2.0-only
- ubuntu resolute: libemail-mime-createhtml-perl 1.042-3 Β· GPL-2.0-only
- ubuntu stonking: libemail-mime-createhtml-perl 1.042-3 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms