perlcritic
Perl module to critique code for best practices
Install
- All systems
-
curl cmd.cat/perlcritic.sh
- Debian
-
apt-get install libperl-critic-perl
- Ubuntu
-
apt-get install libperl-critic-perl
- Kali Linux
-
apt-get install libperl-critic-perl
- CentOS
-
yum install perl-Perl-Critic
- Fedora
-
dnf install perl-Perl-Critic
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install libperl-critic-perl
- Raspbian
-
apt-get install libperl-critic-perl
- Dockerfile
- dockerfile.run/perlcritic
libperl-critic-perl
Perl module to critique code for best practices
Perl::Critic is an extensible framework for creating and applying software coding policies to Perl source code. By default, it is distributed with a number of policy modules that attempt to enforce various coding guidelines, including those discussed in Damian Conway's Perl Best Practices. However, it is not limited to PBP and will even support policies that contradict PBP. You can enable, disable and customize those policies through the Perl::Critic interface. You can also create new Policy modules to suit your own tastes.