Perl::C...c::Moose(3)

πŸ“¦
version 1.05 Β· 2 versions
, in fedora 43

✨ 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, use DEMOLISH() instead of DESTROY(). 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 of lazy_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>

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