I looked at the first subroutine of Perl::Critic
), and I noticed that it violates several of PBP's recommendations. For instance, while the API of sub new
uses named arguments, it doesn't say all of them need to be passed in a hash ref. It also uses hash based objects, instead of using Class::Std
. I also note regexes without a /s
modifier, and even at least one without any modifier.
I started installing Perl::Critic, but it has an army of dependencies - when it way up in the dependence tree had dependencies on ExtUtils::AutoInstall and CPANPLUS, I aborted the process.