MooseX...tribute(3pm)

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

πŸ’– MooseX::MultiInitArg::Attribute(3pm) πŸ’–

okay bestie, pull up a chair β€” this is the manual page for MooseX::MultiInitArg::Attribute, living its best life in the User Contributed Perl Documentation section (that's the 3pm part, iykyk). Let's get into it. πŸ¦‹


✨ NAME ✨

MooseX::MultiInitArg::Attribute β€” a custom attribute metaclass that lets you add multiple init arguments to your attributes. πŸŽ€


🌸 DESCRIPTION 🌸

So here's the tea, bestie: this is a custom attribute metaclass that you can slap onto an attribute so you can specify a list of aliases for that attribute β€” and those aliases get recognized as constructor arguments. Multiple names, one attribute, no cap. πŸ’…

Also: if you wanna use this alongside other attribute modifiers, use MooseX::MultiInitArg::Trait β€” that's the move for that situation. 🫢


πŸ‘‘ AUTHOR πŸ‘‘

Paul Driver, "<frodwith at cpan.org>"


Copyright 2007-2008 by Paul Driver.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. Periodt. πŸ’š


okay and one last lil vibe check for the sign-off: this page is from perl v5.34.0, dated 2022-06-15, and it's filed under MooseX...tribute(3pm) β€” which is literally just the title squished cute. That's it, that's the page. Slay, go forth and pass all the init args you want. πŸŒˆπŸ’–βœ¨

πŸ“¦ where this page comes from