Rechercher une page de manuel
MooseX::Aliases::Meta::Trait::Attribute.3pm
Langue: en
Version: 2010-01-17 (ubuntu - 24/10/10)
Section: 3 (Bibliothèques de fonctions)
NAME
MooseX::Aliases::Meta::Trait::Attribute - attribute metaclass trait for MooseX::AliasesVERSION
version 0.08SYNOPSIS
package MyApp::Role; use Moose::Role; use MooseX::Aliases; has this => ( isa => 'Str', is => 'rw', traits => [qw(Aliased)], alias => 'that', );
DESCRIPTION
This trait adds the "alias" option to attribute creation. It is automatically applied to all attributes when "use MooseX::Aliases;" is run, but must be explicitly applied in roles, due to issues with Moose's handling of attributes in roles.AUTHORS
Jesse Luehrs <doy at tozt dot net> Chris Prather (chris@prather.org) Justin Hunter <justin.d.hunter at gmail dot com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2009 by Jesse Luehrs.This is free software; you can redistribute it and/or modify it under the same terms as perl itself.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre