The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Search results for "dist:Attribute-Util Memoize"

Attribute::Memoize - A Memoize attribute River stage one • 5 direct dependents • 5 total dependents

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 River stage one • 5 direct dependents • 5 total dependents

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;' River stage one • 5 direct dependents • 5 total dependents

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
3 results (0.029 seconds)