Search results for "dist:Attribute-Util Memoize"
Attribute::Memoize - A Memoize attribute
This attribute 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()". Options can be passed via the attribute per usual (see the "At...
DANKOGAI/Attribute-Util-1.07 - 24 Feb 2013 09:18:06 UTC
Attribute::Util - Assorted general utility attributes
When used without argument, this module provides four universally accessible attributes of general interest as follows: Abstract See Attribute::Abstract. Alias See Attribute::Alias. Memoize See Attribute::Memoize. Method See Attribute::Method. SigHan...
DANKOGAI/Attribute-Util-1.07 - 24 Feb 2013 09:18:06 UTC
Attribute::Method - No more 'my $self = shift;'
This Attribute makes your subroutine a method -- $self is automagically set and the parameter list is supported. This trick is actually introduced in "Perl Hacks", hack #47. But the code sample therein is a little buggy so have a look at this module ...
DANKOGAI/Attribute-Util-1.07 - 24 Feb 2013 09:18:06 UTC