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;
<
Use B::Lint. You can use it on command line by calling O module with Lint as argument, e.g.:
you@there:~/sandbox$ perl -MO=Lint Some.pm
Implicit scalar context for array in logical and (&&) at Some.pm line 121
Implicit scalar context for array in conditional expression at Some.pm line 49
Implicit scalar context for array in logical and (&&) at Some.pm line 132
Some.pm syntax OK