I understand that it is better to use Modern :: Perl than to use strict and warning.
With the default settings, Perl :: Critic v1.121 complains about the code before a strict check, even when "Use Modern :: Perl" is used before using the code.
QUESTION: Is the best solution for updating perlcriticrc configuration as shown below, or is there a better way?
Configuration source below
cat ~ / .perlcriticrc
[TestingAndDebugging::RequireUseStrict] equivalent_modules = Modern::Perl [TestingAndDebugging::RequireUseWarnings] equivalent_modules = Modern::Perl
Also worth noting: Developer discussion here
source share