Some Perl::Critic policies used by Plicease
The Perl::Critic::Policy::Plicease policies are an eclectic collection of Perl::Critic policies. They aren't grouped into a theme because some are application specific and you should review and include them only on a case by case basis.
-
Plicease::ProhibitLeadingZeros
This is a slight remix on the prohibit leading zeros policy with some helpful exceptions.
-
Plicease::ProhibitUnicodeDigitInRegexp
Prohibit
\d
(match any digit) in regular expressions without the/a
or/u
modifier.
Author: Graham Ollis plicease@cpan.org
Contributors:
Ville Skyttä (SCOP)
Yoshikazu Sawa (yoshikazusawa)
This software is copyright (c) 2019-2024 by Graham Ollis.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.