Package Info

perl-MooseX-SemiAffordanceAccessor


Name your accessors foo() and set_foo()


Development/Libraries/Perl

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.


License: Artistic-2.0
URL: http://search.cpan.org/dist/MooseX-SemiAffordanceAccessor/

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
0.10-bp156.3.1 info GA Release 2023-07-22 15 SP6
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-MooseX-SemiAffordanceAccessor
0.10-bp155.2.9 info GA Release 2023-05-17 15 SP5
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-MooseX-SemiAffordanceAccessor
0.10-bp154.1.18 info GA Release 2022-05-09 15 SP4
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-MooseX-SemiAffordanceAccessor
0.10-bp153.1.13 info GA Release 2021-03-06 15 SP3
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-MooseX-SemiAffordanceAccessor
0.10-bp152.3.14 info GA Release 2020-04-17 15 SP2
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-MooseX-SemiAffordanceAccessor
0.10-bp151.3.1 info GA Release 2019-07-16 15 SP1
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-MooseX-SemiAffordanceAccessor
0.10-bp151.2.11 info GA Release 2019-05-18 15 SP1
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-MooseX-SemiAffordanceAccessor
0.10-bp150.2.4 info GA Release 2018-07-30 15
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-MooseX-SemiAffordanceAccessor