1MooseX::Aliases::Meta::UTsrearitC:o:nAttrtirbiubtueMtdoeo(Ps3ee)rXl::DAolciuamseenst:a:tMieotna::Trait::Attribute(3)
2
3
4
6 MooseX::Aliases::Meta::Trait::Attribute - attribute metaclass trait for
7 MooseX::Aliases
8
10 version 0.11
11
13 package MyApp::Role;
14 use Moose::Role;
15 use MooseX::Aliases;
16
17 has this => (
18 isa => 'Str',
19 is => 'rw',
20 alias => 'that',
21 );
22
24 This trait adds the "alias" option to attribute creation. It is
25 automatically applied to all attributes when "use MooseX::Aliases;" is
26 run.
27
29 · Jesse Luehrs <doy@tozt.net>
30
31 · Chris Prather <chris@prather.org>
32
33 · Justin Hunter <justin.d.hunter@gmail.com>
34
36 This software is copyright (c) 2013 by Jesse Luehrs.
37
38 This is free software; you can redistribute it and/or modify it under
39 the same terms as the Perl 5 programming language system itself.
40
41
42
43perl v5.30.0 201M9o-o0s7e-X2:6:Aliases::Meta::Trait::Attribute(3)