Install libperl-critic-perl by entering the following commands in the terminal:
sudo apt update sudo apt install 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.