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 "module:Attribute::Overload"

Attribute::Overload - Attribute that makes overloading easier River stage zero No dependents

The "Overload" attribute, when used on a subroutine, declares that subroutine as the handler in the current package for the operation(s) indicated by the attribute options. Thus it frees you from the implementation details of how to declare overloads...

MARCEL/Attribute-Overload-1.100710 - 12 Mar 2010 13:37:11 UTC

Attribute::Overload::Match - argument-dependent handlers for overloaded operators River stage zero No dependents

The module is a wrapper for overload, that provides a simple syntax for calling different operator handlers for different passed arguments. The idea is a curious ( but probably not a very practical ) mix of Attribute::Overload and Sub::PatMat ....

KARASIK/Attribute-Overload-Match-0.01 - 28 Feb 2007 11:51:54 UTC

MooseX::Attribute::ENV - Set default of an attribute to a value from %ENV River stage two • 4 direct dependents • 34 total dependents

This is a Moose attribute trait that you use when you want the default value for an attribute to be populated from the %ENV hash. So, for example if you have set the environment variable USERNAME = 'John' you can do: package MyApp::MyClass; use Moose...

JJNAPIORK/MooseX-Attribute-ENV-0.02 - 11 Jan 2012 14:45:31 UTC
3 results (0.035 seconds)