CHI::Memoize::Info(3pm)

CHI::Memoize::Info3pm

Information about a memoized function

Usage

    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;

Version

version 0.07

Methods

cache

The CHI cache where memoize results are stored for this function

orig

The original code reference when "memoize" was called

wrapped

The wrapped code reference that "memoize" created

Releases

5 releases since Debian 9 (Stretch); the text changed 1 time.

  1. 9
  2. 10–13

Author

Jonathan Swartz <[email protected]>

From libchi-memoize-perl 0.07-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.