MooseX...tribute(3pm)

πŸ“¦
version 0.11 Β· 4 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– NAME πŸ’–

MooseX::Aliases::Meta::Trait::Attribute β€” bestie, it's the attribute metaclass trait for MooseX::Aliases. That's the whole vibe. (You'll also see it filed under the manual name MooseX...tribute(3pm), which is just the long name getting squished by the terminal. She's still her. πŸŽ€)


✨ VERSION ✨

version 0.11 β€” yes, she's a real one, no cap 🫢


🌸 SYNOPSIS 🌸

okay so this is literally all you have to do:

package MyApp::Role;
use Moose::Role;
use MooseX::Aliases;

has this => (
    isa   => 'Str',
    is    => 'rw',
    alias => 'that',
);

look at her go πŸ’… this gets a whole other name and you didn't even break a sweat.


πŸ¦‹ DESCRIPTION πŸ¦‹

So here's the tea: this trait adds the alias option to attribute creation. That's it. That's the gift. 🎁

And the best part? You don't have to do anything to turn it on, because it's automatically applied to all attributes the moment you run use MooseX::Aliases;. It just shows up. Main character energy, honestly. πŸ‘‘


πŸ‘‘ AUTHORS πŸ‘‘

the icons who made this happen:

  • Jesse Luehrs <doy@tozt.net>
  • Chris Prather <chris@prather.org>
  • Justin Hunter <justin.d.hunter@gmail.com>

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. fr fr, go wild, it's free. 🌈


ngl this page was generated for perl v5.34.0 back on 2022-06-15, and it lives at MooseX...tribute(3pm) in the User Contributed Perl Documentation. slay, that's a wrap πŸ’–βœ¨πŸ¦‹
πŸ“¦ where this page comes from