---
name: "MooseX::Aliases::Meta::Trait::Attribute"
section: "3pm"
platform: "linux"
package: "libmoosex-aliases-perl"
version: "0.11-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/MooseX::Aliases::Meta::Trait::Attribute"
---

# MooseX::Aliases::Meta::Trait::Attribute(3pm)

attribute metaclass trait for MooseX::Aliases

## NAME

MooseX::Aliases::Meta::Trait::Attribute - attribute metaclass trait for MooseX::Aliases

## VERSION

version 0.11

## SYNOPSIS

```
    package MyApp::Role;
    use Moose::Role;
    use MooseX::Aliases;
    has this => (
        isa   => 'Str',
        is    => 'rw',
        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.

## AUTHORS

- •

  Jesse Luehrs \<doy@tozt.net\>

- •

  Chris Prather \<chris@prather.org\>

- •

  Justin Hunter \<justin.d.hunter@gmail.com\>

## COPYRIGHT AND LICENSE

This software is copyright (c) 2013 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.
