MooseX...::Class(3pm)

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

πŸ’– 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. πŸ’œ

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 πŸ’…πŸŒˆβ­