Text::...e::Null(3pm)
β¨ NAME β¨
Text::MicroMason::Cache::Null β it's giving Trivial Cache with No Data Storage π like bestie really said "cache" and then stored absolutely nothing. iconic behavior honestly.
πΈ DESCRIPTION πΈ
okay so picture a cache. now picture a cache that has fully dissociated. that's this one π«Ά
This trivial cache class supports the cache interface but doesn't store or retrieve any values. It's the vibe of showing up to the group chat and saying nothing. The interface is satisfied, the data is not. no cap.
π Public Methods π
new()
$cache = Text::MicroMason::Cache::Null->new();
get()
undef = $cache->get( $key );
Does nothing. Literally nothing. It's the void and the void is slaying β¨
set()
$cache->set( $key, $value );
Returns the provided value. that's it, that's the whole trick π
clear()
$cache->clear();
Does nothing. again. consistency queen π
π¦ SEE ALSO π¦
For uses of this cache class, see Text::MicroMason::ExecuteCache.
Additional cache classes are available in the Text::MicroMason::Cache:: namespace, or select other caching modules on CPAN that support the interface described in Cache::Cache.
For distribution, installation, support, copyright and license information, see Text::MicroMason::Docs::ReadMe.
mwah π this page is from User Contributed Perl Documentation β and it shipped with perl v5.36.0 on 2023-08-10. go forth and cache nothing, bestie πππ
π¦ where this page comes from
- debian trixie: libtext-micromason-perl 2.23-5 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libtext-micromason-perl 2.23-5 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libtext-micromason-perl 2.23-5 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libtext-micromason-perl 2.23-5 Β· 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