The following module was proposed for inclusion in the Module List:
modid: Attribute::Memoize
DSLIP: RdpOp
description: Attribute interface to Memoize.pm
userid: MARCEL (Marcel Grunauer)
chapterid: 2 (Perl_Core_Modules)
communities:
comp.lang.perl.modules
similar:
Memoize
rationale:
SYNOPSIS use Attribute::Memoize; sub fib :Memoize { my $n = shift;
return $n if $n < 2; fib($n-1) + fib($n-2); }
$|++; print fib($_),"\n" for 1..50;
DESCRIPTION
This module makes it slightly easier (and modern) to memoize a
function by providing an attribute, `:Memoize' that makes it
unnecessary for you to explicitly call `Memoize::memoize()'.
enteredby: MARCEL (Marcel Grunauer)
enteredon: Sat May 19 11:26:33 2001 GMT
The resulting entry would be:
Attribute::
::Memoize RdpOp Attribute interface to Memoize.pm MARCEL
Thanks for registering,
The Pause Team
PS: The following links are only valid for module list maintainers:
Registration form with editing capabilities:
https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=66000000_7c9950819b02e72e&SUBMIT_pause99_add_mod_preview=1
Immediate (one click) registration:
https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=66000000_7c9950819b02e72e&SUBMIT_pause99_add_mod_insertit=1