MooseX...::Class(3pm)
π NAME π
MooseX::Util::Meta::Class β bestie, it's literally just a helper metaclass. That's it. That's the whole vibe. β¨
This page lives in the User Contributed Perl Documentation section of the manual, so you know it's the good stuff. π
πΈ VERSION πΈ
This doc describes version 0.006 of MooseX::Util::Meta::Class, released June 26, 2015 as part of MooseX-Util. Yeah she's an elder but she still ate. π
β¨ SYNOPSIS β¨
okay so imagine you're building a zombie catcher, right? and you want it to come pre-loaded with a machete and a car. here's the move:
# create a new type of Zombie catcher equipped with machete and car
my $meta = MooseX::Util::Meta::Class->create_anon_class(
'Zombie::Catcher' => qw{
Zombie::Catcher::Tools::Machete
Zombie::Catcher::Tools::TracyChapmansFastCar
},
);
# created anon classname is: Zombie::Catcher::__ANON__::SERIAL::42
see that anon classname at the bottom? Zombie::Catcher::__ANON__::SERIAL::42 β not me being obsessed with how readable that is π because fr fr, the default anon classnames are giving nothing. this one is giving everything. π¦
π DESCRIPTION π
This is a trivial extension of Moose::Meta::Class that consumes the BetterAnonClassNames trait. that's the whole description bestie, she's a small queen but she's a queen. π
π SEE ALSO π
Please see those modules/websites for more information related to this module. go click, go read, it's giving research era π§
- MooseX::Util
π BUGS π
Please report any bugs or feature requests on the bugtracker website https://github.com/RsrchBoy/moosex-util/issues
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature. ngl a failing test is the love language of maintainers, it's true, iykyk. π«Ά
π AUTHOR π
Chris Weyl <cweyl@alumni.drew.edu>
πΈ I'm a material boy in a material world πΈ
Please note I do not expect to be gittip'ed or flattr'ed for this work, rather it is simply a very pleasant surprise. I largely create and release works like this because I need them or I find it enjoyable; however, don't let that stop you if you feel like it ;)
Flattr https://flattr.com/submit/auto?user_id=RsrchBoy&url=https%3A%2F%2Fgithub.com%2FRsrchBoy%2Fmoosex-util&title=RsrchBoy's%20CPAN%20MooseX-Util&tags=%22RsrchBoy's%20CPAN%20MooseX-Util%20in%20the%20CPAN%22, Gratipay https://gratipay.com/RsrchBoy/, or indulge my Amazon Wishlist http://bit.ly/rsrchboys-wishlist... If and only if you so desire.
lowkey the most unbothered "tip me if you want, no pressure" energy on the entire CPAN. respect. π
π COPYRIGHT AND LICENSE π
This software is Copyright (c) 2012 by Chris Weyl.
This is free software, licensed under:
The GNU Lesser General Public License, Version 2.1, February 1999
and that's the page bestie!! πβ¨π this was rendered for perl v5.34.0 on 2022-06-16, and it belongs to the MooseX...::Class(3pm) manual. go forth and name your anon classes something cute, mwah π
πβ
π¦ where this page comes from
- debian bookworm: libmoosex-util-perl 0.006-2 Β· LGPL-2.1-only
- debian trixie: libmoosex-util-perl 0.006-2 Β· LGPL-2.1-only
- ubuntu noble: libmoosex-util-perl 0.006-2 Β· LGPL-2.1-only
- ubuntu resolute: libmoosex-util-perl 0.006-2 Β· LGPL-2.1-only
- ubuntu stonking: libmoosex-util-perl 0.006-2 Β· LGPL-2.1-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms