9 results (0.014 seconds)
Karen Etheridge
MooseX::SlurpyConstructor - Make your object constructor collect all unknown attributes
MooseX::SlurpyConstructor::Role::Object - A role which implements a slurpy constructor for Moose::Object
MooseX::SlurpyConstructor::Trait::Attribute - A role to store the slurpy attribute in the metaclass
MooseX::SlurpyConstructor::Trait::Class - A role to make immutable constructors slurpy, and add meta-information used to find slurpy attributes
MooseX::SlurpyConstructor::Trait::Method::Constructor - A role to make immutable constructors slurpy
Changes for version 1.2
    • Complete rewrite to resolve various issues (Karen Etheridge):
    • constructor is not inlined (RT#66784)
    • child classes cannot be slurpy if the parent is not (RT#66785)
    • compatibility issues with Moose 2.0
    • use from within a role
    • interactions with MooseX::StrictConstructor are now reversed - if Strict behaviour is applied to the class, it will take precedence over Slurpy behaviour. This is a simply due to how method modification works in Moose: the constructor cannot be "unmodified" again to tolerate arguments that it already finds intolerable.

Hosting generously
sponsored by Bytemark