I need to implement lint and Perl::Critic for static code analysis in Perl. I have found B::Lint module for lint in Perl.
B::Lint and Perl::Critic are separate modules.
It is not required to use both modules, but it is useful to use both.
I created a wrapper script for myself to run both in sequence. For example, to analyze a single Perl source code file (file.pl):
perlcritic --brutal --verbose 9 file.pl
perl -MO=Lint file.pl
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With