DOKK / manpages / debian 12 / libchi-memoize-perl / CHI::Memoize::Info.3pm.en
CHI::Memoize::Info(3pm) User Contributed Perl Documentation CHI::Memoize::Info(3pm)

CHI::Memoize::Info - Information about a memoized function

version 0.07

    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;

The CHI cache where memoize results are stored for this function
The original code reference when "memoize" was called
The wrapped code reference that "memoize" created

Jonathan Swartz <swartz@pobox.com>

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.

2018-10-03 perl v5.26.2