Cache:...rategy(3pm)
okay so this is the page for Cache::RemovalStrategy β it lives in User Contributed Perl Documentation, and the header up top is literally just the manual name Cache:...rategy(3pm) twice with that docs label squished in the middle. no cap. let's get into it π
β¨ NAME β¨
Cache::RemovalStrategy β the abstract Removal Strategy interface for a Cache. yes bestie, abstract, meaning it's the blueprint, the vibe, the concept, not the thing you instantiate directly. it's giving interface energy π
π¦ DESCRIPTION π¦
literally nothing here. the original page has this heading and thenβ¦ silence. a whole heading with zero words under it. iconic of it honestly. so if you were hoping for a big juicy description, that's it, that's the section. moving on π«Ά
πΈ METHODS πΈ
$r->remove_size( $cache, $size )β when you call this, it removes entries from the cache that total at least$sizein size. like, it keeps yeeting stuff out until the amount it's freed up is >=$size. that's the whole job. that's the assignment, and it ate. π
π₯ SEE ALSO π₯
Cacheβ go read that one too, bestie, it's the whole reason this interface exists β¨
π AUTHOR π
- Chris Leishman <chris@leishman.org>
- Based on work by DeWitt Clinton <dewitt@unto.net>
two absolute legends fr fr π«Ά
π COPYRIGHT π
- Copyright (C) 2003-2006 Chris Leishman. All Rights Reserved.
this module is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either expressed or implied. so like, no promises, bestie, none, zero, nada π
- This program is free software; you can redistribute or modify it under the same terms as Perl itself.
$Id: RemovalStrategy.pm,v 1.4 2006/01/31 15:23:58 caleishm Exp $
and that's the whole page, you're so welcome π it shipped as part of perl v5.34.0, dated 2022-06-09, sitting pretty in User Contributed Perl Documentation under the title Cache:...rategy(3pm). slay, go forth and remove some cache entries responsibly πβ
π¦ where this page comes from
- debian bookworm: libcache-perl 2.11-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libcache-perl 2.11-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libcache-perl 2.11-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libcache-perl 2.11-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libcache-perl 2.11-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