Tag: perlcritic
-
running perlcritic on legacy Perl code
I got asked “at work” to run perlcritic on some legacy Perl code, and I got flooded with complaints. So I invested a little time in finding out, how to switch certain checks off. This is my perlcritic command line: $ perlcritic –theme=core –exclude=NamingConventions::Capitalization –exclude=ControlStructures::ProhibitPostfixControls –exclude=Documentation::RequirePodAtEnd –exclude=Subroutines::RequireArgUnpacking –exclude=Variables::ProhibitPunctuationVars … Using all these command line switches…