Changes for version 0.19
- Released at 2023-05-05T21:24:23+0900
- ProhibitDuplicateLiteral: Improve description by including the literal and excluding line and column numbers.
- ProhibitDuplicateSub: Allow multiple BEGIN, UNITCHECK, CHECK, INIT and END code blocks
- Some improvements of documentation.
Modules
Don't repeat yourself with identical literals
When 2 subroutines are defined with the same name, report the first one.
Finds '::::::::' in module names.
Find unnecessary 'use strict'
Find oversized blocks
Find oversized `try..catch` block.
Finds `scalar` in scalar context.
Find 'use utf8' statement that produces (almost) no effect.
Find unused constants.
Find unused imports
Find unused include statements.
perlcritic add-ons that generally check for dead code.