Runs Perl::Critic using Docker and outputs a HTML report.
- Docker
- Navigate to the directory containing the code you want to run perlcritic against.
- Next, run the following command in your terminal and perlcritic will be run against your code.
docker run -v $PWD:/tmp/workspace avastsoftware/perl_critic
- The resulting html report(s) are now accessible in
./critic_html
.
perl_critic is based on http://blogs.lessthandot.com/index.php/webdev/perl/create-html-from-output-of/