Perl::Critic::Moose - Policies for Perl::Critic concerned with using Moose
version 1.03
The included policies are:
Use DEMOLISH() instead of DESTROY(). [Severity: 3]
DEMOLISH()
DESTROY()
Compose your roles to enjoy safe composition. [Severity: 4]
Don't override the built-in constructors. [Severity: 4]
Require removing implementation details from you packages. [Severity: 3]
Increase performance by freezing your class structures with __PACKAGE__->meta()->make_immutable(). [Severity: 3]
__PACKAGE__->meta()->make_immutable()
Some Perl::Critic policies that will help you keep your code in good shape with regards to Moose.
This module has no functionality, but instead contains documentation for this distribution and acts as a means of pulling other modules into a bundle. All of the Policy modules contained herein will have an "AFFILIATION" section announcing their participation in this grouping.
All policies included are in the "moose" theme. See the Perl::Critic documentation for how to make use of this.
Please report any bugs or feature requests to bug-perl-critic-moose@rt.cpan.org, or through the web interface at http://rt.cpan.org.
bug-perl-critic-moose@rt.cpan.org
Elliot Shank <perl@galumph.com>
Dave Rolsky <autarch@urth.org>
Jeffrey Ryan Thalhammer <jeff@thaljef.org>
Noel Maddy <zhtwnpanta@gmail.com>
Shawn Moore <cpan@sartak.org>
This software is copyright (c) 2008 - 2015 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.
To install Perl::Critic::Moose, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Perl::Critic::Moose
CPAN shell
perl -MCPAN -e shell install Perl::Critic::Moose
For more information on module installation, please visit the detailed CPAN module installation guide.