Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
MooseX::AttributeShortUseroContributedbPerlhDocumentaTrait::Role::Attribute(3)

NAME
       MooseX::AttributeShortcuts::Trait::Role::Attribute - Role attribute
       trait to	create builder method

VERSION
       This document describes version 0.032 of
       MooseX::AttributeShortcuts::Trait::Role::Attribute - released June 13,
       2017 as part of MooseX-AttributeShortcuts.

DESCRIPTION
       Normally, attribute options processing takes place at the time an
       attribute is created and	attached to a class, either by virtue of a
       "has" statement in a class definition or	when a role is applied to a
       class.

       This is not an optimal approach for anonymous builder methods.

       This is a role attribute	trait, to create builder methods when role
       attributes are created, so that they can	be aliased, excluded, etc,
       like any	other role method.

ROLE PARAMETERS
       Parameterized roles accept parameters that influence their
       construction.  This role	accepts	the following parameters.

   builder_prefix
AROUND METHOD MODIFIERS
   new
       If we have an anonymous builder defined in our role options, swizzle
       our options such	that "builder" becomes the builder method name,	and
       "anon_builder" is the anonymous sub.

AFTER METHOD MODIFIERS
   attach_to_role
       If we have an anonymous builder defined in our role options, install it
       as a method.

SEE ALSO
       Please see those	modules/websites for more information related to this
       module.

       o   MooseX::AttributeShortcuts

BUGS
       Please report any bugs or feature requests on the bugtracker website
       <https://github.com/RsrchBoy/moosex-attributeshortcuts/issues>

       When submitting a bug or	request, please	include	a test-file or a patch
       to an existing test-file	that illustrates the bug or desired feature.

AUTHOR
       Chris Weyl <cweyl@alumni.drew.edu>

COPYRIGHT AND LICENSE
       This software is	Copyright (c) 2017, 2015, 2014,	2013, 2012, 2011 by
       Chris Weyl.

       This is free software, licensed under:

	 The GNU Lesser	General	Public License,	Version	2.1, February 1999

perl v5.24.1		 MooseX::AttributeShortcuts::Trait::Role::Attribute(3)

NAME | VERSION | DESCRIPTION | ROLE PARAMETERS | AROUND METHOD MODIFIERS | AFTER METHOD MODIFIERS | SEE ALSO | BUGS | AUTHOR | COPYRIGHT AND LICENSE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=MooseX::AttributeShortcuts::Trait::Role::Attribute&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help