Perl::C...c::Moose(3)
β¨ NAME β¨
Perl::Critic::Moose β the Perl::Critic policies that are all about Moose π (this page is from the User Contributed Perl Documentation set, bestie, and the man name is literally Perl::C...c::Moose(3) π)
πΈ VERSION πΈ
version 1.05 β¨
π¦ DESCRIPTION π¦
Okay so, this is a little bundle of Perl::Critic policies that keep your code looking cute and well-behaved when it comes to Moose. Think of it as a vibe check for your Moose code π
The included policies are:
Perl::Critic::Policy::Moose::ProhibitDESTROYMethodβ bestie, useDEMOLISH()instead ofDESTROY(). Periodt. [Severity: 3]Perl::Critic::Policy::Moose::ProhibitMultipleWithsβ compose your roles so you get safe composition, it's giving healthy relationships π«Ά [Severity: 4]Perl::Critic::Policy::Moose::ProhibitNewMethodβ do NOT override the built-in constructors, that's not your moment π [Severity: 4]Perl::Critic::Policy::Moose::RequireCleanNamespaceβ require removing implementation details from your packages, keep that namespace squeaky clean π§ [Severity: 3]Perl::Critic::Policy::Moose::RequireMakeImmutableβ level up performance by freezing your class structures with__PACKAGE__->meta()->make_immutable()βοΈ [Severity: 3]Perl::Critic::Policy::Moose::ProhibitLazyBuildβ stop the use oflazy_build, because it creates mutability problems and pollutes namespaces π [Severity: 2]
π AFFILIATION π
Real talk: this module has no functionality of its own. It's just documentation for this distribution, plus a way to pull other modules into a bundle π Every single Policy module in here has its own AFFILIATION section announcing that it's part of this grouping, so you'll always know who's in the group chat π
π CONFIGURATION AND ENVIRONMENT π
All the policies included are in the moose theme β¨ Wanna know how to actually make use of that? Go read the Perl::Critic documentation, bestie, it's all in there π
π BUGS AND LIMITATIONS π
Found a bug? Got a feature request? Please report it to bug-perl-critic-moose@rt.cpan.org, or slide through the web interface at http://rt.cpan.org π
Bugs may be submitted through the RT bug tracker http://rt.cpan.org/Public/Dist/Display.html?Name=Perl-Critic-Moose (or bug-perl-critic-moose@rt.cpan.org mailto:bug-perl-critic-moose@rt.cpan.org) π
Also!! I'm usually active on IRC as 'drolsky' on irc://irc.perl.org, so you can literally just come say hi π
π AUTHORS π
- Elliot Shank
<perl@galumph.com>π - Dave Rolsky
<autarch@urth.org>π
β CONTRIBUTORS β
- Jeffrey Ryan Thalhammer
<jeff@thaljef.org> - Karen Etheridge
<ether@cpan.org> - Kieren Diment
<kieren.diment@hiivesystems.com> - Noel Maddy
<zhtwnpanta@gmail.com> - Shawn Moore
<cpan@sartak.org>
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2008 - 2016 by Elliot Shank πΈ
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself π
and that's the whole page, no cap β this was perl v5.42.0, dated 2025-07-25, from the Perl::C...c::Moose(3) page π stay slay, keep your Moose immaculate β¨
π¦ where this page comes from
- fedora 43: perl-Perl-Critic-Moose 1.05-27.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms