Aspect::Library::Memoize - Cross-cutting memoization


Aspect-Library-Memoize documentation  | view source Contained in the Aspect-Library-Memoize distribution.

Index


NAME

Top

Aspect::Library::Memoize - Cross-cutting memoization

SYNOPSIS

Top

  # memoize all subs that have '_slow_' in their name, under package MyApp
  aspect Memoize => call qr/^MyApp::.*_slow_/;

SUPER

Top

Aspect::Modular

DESCRIPTION

Top

An aspect interface on the Memoize module. Only difference from Memoize module is that you can specify subs to be memoized using pointcuts.

Works by memoizing on the 1st call, and calling the memoized version on subsequent calls.

SEE ALSO

Top

See the Aspect documentation for a guide to the Aspect module.

You can find an example of using this aspect in the examples/ directory of the distribution.

SUPPORT

Top

Please report any bugs or feature requests through the web interface at http://rt.cpan.org/Public/Dist/Display.html?Name=Aspect-Library-Memoize.

AUTHORS

Top

Adam Kennedy <adamk@cpan.org>

Marcel Grünauer <marcel@cpan.org>

Ran Eilam <eilara@cpan.org>

SEE ALSO

Top

You can find AOP examples in the examples/ directory of the distribution.

COPYRIGHT AND LICENSE

Top


Aspect-Library-Memoize documentation  | view source Contained in the Aspect-Library-Memoize distribution.