The MooseX::Aliases module will allow you to quickly alias methods in Moose. It provides an alias parameter for 'has()' to generate aliased accessors as well as the standard ones. Attributes can also be initialized in the constructor via their aliased names.
You can create more than one alias at once by passing a arrayref:
has ip_addr => ( alias => [ qw(ipAddr ip) ], );
Package Version | Update ID | Released | Package Hub Version | Platforms | Subpackages |
---|---|---|---|---|---|
0.11-bp156.3.1 info | GA Release | 2023-07-22 | 15 SP6 |
|
|
0.11-bp155.2.9 info | GA Release | 2023-05-17 | 15 SP5 |
|
|
0.11-bp154.1.18 info | GA Release | 2022-05-09 | 15 SP4 |
|
|
0.11-bp153.1.13 info | GA Release | 2021-03-06 | 15 SP3 |
|
|
0.11-bp152.3.14 info | GA Release | 2020-04-17 | 15 SP2 |
|
|
0.11-bp151.3.1 info | GA Release | 2019-07-16 | 15 SP1 |
|
|
0.11-bp151.2.11 info | GA Release | 2019-05-18 | 15 SP1 |
|
|
0.11-bp150.2.4 info | GA Release | 2018-07-30 | 15 |
|
|