---
name: "CHI::Memoize::Info"
section: "3pm"
platform: "linux"
package: "libchi-memoize-perl"
version: "0.07-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/CHI::Memoize::Info"
---

# CHI::Memoize::Info(3pm)

Information about a memoized function

## NAME

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

## VERSION

version 0.07

## SYNOPSIS

```
    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;
```

## 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

## AUTHOR

Jonathan Swartz \<swartz@pobox.com\>

## COPYRIGHT AND LICENSE

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.
