MooseX::SemiAffordanceAccessor::Role::Attribute.3pm

Langue: en

Autres versions - même langue

Version: 2009-05-23 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

MooseX::SemiAffordanceAccessor::Role::Attribute - Names accessors in a semi-affordance style

SYNOPSIS

   Moose::Util::MetaRole::apply_metaclass_roles
       ( for_class => $p{for_class},
         attribute_metaclass_roles =>
         ['MooseX::SemiAffordanceAccessor::Role::Attribute'],
       );
 
 

DESCRIPTION

This role applies a method modifier to the "_process_options()" method, and tweaks the reader and writer parameters so that they follow the semi-affordance naming style.

AUTHOR

Dave Rolsky, "<autarch@urth.org>" Copyright 2007-2008 Dave Rolsky, All Rights Reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.