| MooseX-Aliases documentation | view source | Contained in the MooseX-Aliases distribution. |
MooseX::Aliases::Meta::Trait::Attribute - attribute metaclass trait for MooseX::Aliases
version 0.10
package MyApp::Role;
use Moose::Role;
use MooseX::Aliases;
has this => (
isa => 'Str',
is => 'rw',
alias => 'that',
);
This trait adds the alias option to attribute creation. It is automatically
applied to all attributes when use MooseX::Aliases; is run.
This software is copyright (c) 2011 by Jesse Luehrs.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
| MooseX-Aliases documentation | view source | Contained in the MooseX-Aliases distribution. |