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.10
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 · MooseX::Aliases
30
32 · Jesse Luehrs <doy at tozt dot net>
33
34 · Chris Prather <chris@prather.org>
35
36 · Justin Hunter <justin.d.hunter at gmail dot com>
37
39 This software is copyright (c) 2011 by Jesse Luehrs.
40
41 This is free software; you can redistribute it and/or modify it under
42 the same terms as the Perl 5 programming language system itself.
43
44
45
46perl v5.12.3 201M1o-o0s4e-X2:9:Aliases::Meta::Trait::Attribute(3)