CHI::D...r::Null(3pm)
π NAME π
CHI::Driver::Null β nothing is cached π«₯β¨
(also, hi bestie, this is the CHI::D...r::Null(3pm) page from User Contributed Perl Documentation β the name got cutely cropped in the header but it's literally CHI::Driver::Null, iykyk π
)
πΈ VERSION πΈ
version 0.61 β
β¨ SYNOPSIS β¨
use CHI;
my $cache = CHI->new(driver => 'Null');
$cache->set('key', 5);
my $value = $cache->get('key'); # returns undef
okay so watch this π β you set a thing, you get a thing back, and the thing is... undef. not a bug, that's the whole point. she's serving absence. iconic. π
π¦ DESCRIPTION π¦
So this cache driver implements the full CHI interface without ever actually storing items. Like, it shows up, it does all the moves, it's fully committed to the bit β but nothing is ever saved. π«Ά
Useful for disabling caching in an application, for example. That's the vibe: you flip over to Null and boom π₯ the caching is off but every call still works the same way. main character energy without the memory overhead fr fr.
π SEE ALSO π
- CHI π
π AUTHOR π
Jonathan Swartz <swartz@pobox.com> π
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2021 by Jonathan Swartz.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. πΈ
and that's the whole page, bestie!! no cap, no stored items, no notes. π§π«
mwah π β brought to you by perl v5.32.1, dated 2021-10-15, and the CHI::D...r::Null(3pm) header that ran out of room. slay. β¨
π¦ where this page comes from
- debian bookworm: libchi-perl 0.61-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libchi-perl 0.61-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu jammy: libchi-perl 0.61-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libchi-perl 0.61-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libchi-perl 0.61-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libchi-perl 0.61-1 Β· 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