Perl::Critic can be a resource pig. Profile it and help find the hot spots.
% perl Build.PL
% perl -Mbib -d:DProf t/40_criticize.t
Incorporate Perl::Critic rules into your projects
This is a great way to get your feet wet and understand the power, and limitations, of Perl::Critic.
- Install Perl::Critic
- Run “perlcritic -top MyModule.pm”
- Create a custom config file
- Install Test::Perl::Critic
- Add a t/perlcritic.t to your dist
Andy Lester’s set of extensions. One of them checks for variable names ending with digits, but $md5 should be OK.
Andy Lester is having a problem where he runs P::C against Socialtext Open and it complains about “Capture variable used outside conditional”, but that’s apparently not true.