CHI::M...::Info(3pm)
π CHI::M...::Info β it's giving β¨manual pageβ¨
okay bestie so this is CHI::Memoize::Info, part of the User Contributed Perl Documentation situation, and it is literally just the lore about a memoized function. like, everything you'd wanna know about the function you just memoized. that's it, that's the page π«Ά
πΈ VERSION πΈ
version 0.07 β yeah we're on 0.07, she's a lil vintage, we love her π
β¨ SYNOPSIS β¨
so here's the whole vibe, bestie:
use CHI::Memoize qw(:all);
memoize('func');
# then
my $info = memoized('func');
# The CHI cache where memoize results are stored
#
my $cache = $info->cache;
$cache->clear;
# The original function, and the new wrapped function
#
my $orig = $info->orig;
my $wrapped = $info->wrapped;
like β you memoize('func'), you call memoized('func'), and boom, you get an info object that knows everything about what you just did. no cap π₯
π METHODS π
three methods, all iconic, all slaying:
cacheβ this one hands you the CHI cache where the memoize results for this function are actually being stored. that's your cache, bestie. you can do whatever with it. the example above literally just clears it, main character move.origβ the original code reference, exactly as it was whenmemoizegot called on it. the before. the pre-glow-up. πwrappedβ the wrapped code reference thatmemoizecreated. the after. the new fit. the whole point. π
π¦ AUTHOR π¦
Jonathan Swartz <swartz@pobox.com> β the icon, the legend, the one who wrote this. bow down π
π COPYRIGHT AND LICENSE π
so the legal tea, periodt:
This software is copyright (c) 2011 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.
like β it's free, it's Perl-licensed, go wild (responsibly) π
and that's the whole page, bestie!! this was perl v5.28.0 coded up on 2018-10-03, and honestly? she still eats. mwah πβ¨
π¦ where this page comes from
- ubuntu jammy: libchi-memoize-perl 0.07-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libchi-memoize-perl 0.07-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