Name your accessors foo() and set_foo()
http://search.cpan.org/dist/MooseX-SemiAffordanceAccessor/
This module does not provide any methods. Simply loading it changes the
default naming policy for the loading class so that accessors are separated
into get and set methods. The get methods have the same name as the
accessor, while set methods are prefixed with "set_".
If you define an attribute with a leading underscore, then the set method
will start with "_set_".
If you explicitly set a "reader" or "writer" name when creating an
attribute, then that attribute's naming scheme is left unchanged.
The name "semi-affordance" comes from David Wheeler's Class::Meta module.
- Devel package for openSUSE:Factory
- Links to openSUSE:Factory / perl-MooseX...ceAccessor
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout devel:languages:perl/perl-MooseX-SemiAffordanceAccessor && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
MooseX-SemiAffordanceAccessor-0.10.tar.gz | 0000016697 16.3 KB | |
cpanspec.yml | 0000000469 469 Bytes | |
perl-MooseX-SemiAffordanceAccessor.changes | 0000001199 1.17 KB | |
perl-MooseX-SemiAffordanceAccessor.spec | 0000002596 2.54 KB |
Revision 6 (latest revision is 7)
Stephan Kulow (coolo)
accepted
request 297103
from
Stephan Kulow (coolo)
(revision 6)
- updated to 0.10 see /usr/share/doc/packages/perl-MooseX-SemiAffordanceAccessor/Changes 0.10 2014-10-05 - Distro and POD cleanup. Fixes RT #98388. - remove outdated perl-MooseX-SemiAffordanceAccessor-use_lib.patch
Comments 0