Lint-like program for Perl?

Charles picture Charles · Jul 26, 2011 · Viewed 11.4k times · Source

I'm looking for a lint for Perl, something that would catch dead code and other potential problems. Any suggestions?

I have

use strict;
use warnings;

already but I'd like to have more.

Answer

Stuart Watt picture Stuart Watt · Jul 26, 2011

Perl::Critic is your friend. I use Test::Perl::Critic and build it into my code's author tests