logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

MooseX::Util::Meta::Class - A helper metaclass

Author

       Chris Weyl <cweyl@alumni.drew.edu>

   I'mamaterialboyinamaterialworld
       Please  note  Idonotexpecttobegittip'edorflattr'edforthiswork, rather itissimplyaverypleasantsurprise. 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%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.

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.

Description

       This is a trivial extension of Moose::Meta::Class that consumes the BetterAnonClassNames trait.

Name

       MooseX::Util::Meta::Class - A helper metaclass

See Also

       Please see those modules/websites for more information related to this module.

       •   MooseX::Util

Synopsis

           # 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

Version

       This document describes version 0.006 of MooseX::Util::Meta::Class - released June 26, 2015 as part of
       MooseX-Util.

See Also