Changes for version 1.14 - 2024-10-20
- FIXES
- ProhibitFlagComments now checks for entire words, not just partial words. The heading "BUGS" will no longer give a positive on "BUG". Thanks, Amory Meltzer. (GH #24)
Modules
A collection of handy Perl::Critic policies
Bitwise operators are usually accidentally used instead of logical boolean operators.
Commented-out code is usually noise. It should be removed.
Prohibit loading of debugging modules like Data::Dumper
Don't use XXX, TODO, or FIXME.
Know what you're going to test.
Prohibit variables and subroutines with names that end in digits.
Create a clone() method if you need copies of objects.
Adding modifiers to a regular expression made up entirely of a variable created with qr() is usually not doing what you expect.
Don't use generic variable and subroutine names.