Aran Clary Deltac

NAME

Perl::Critic::Policy::Moo::ProhibitMakeImmutable - Makes sure that Moo classes do not contain calls to make_immutable.

DESCRIPTION

When migrating from Moose to Moo it can be a common issue to accidentally leave in:

    __PACKAGE__->meta->make_immutable;

This policy complains if this exists in a Moo class as it triggers Moose to be loaded and metaclass created, which defeats some of the benefits you get using Moo instead of Moose.

AUTHOR

Aran Clary Deltac <bluefeet@gmail.com>

ACKNOWLEDGEMENTS

Thanks to ZipRecruiter for encouraging their employees to contribute back to the open source ecosystem. Without their dedication to quality software development this distribution would not exist.

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.