Use ##no critic to desactive perlcritic on modules names not exactly the same as files names
Description
Use ##no critic to desactive perlcritic on modules names not exactly the same as files names
Distribution Name and Version
Debian
Argonaut Version
1.3-dev
PERL version used
perl 5.20
Origin of perl packages
Debian stretch
Steps to Reproduce
- run perlcritic .
Expected behavior:
perlcritic don't show any errors
Actual behavior:
argonaut-client/Argonaut/ClientDaemon/ModulesInitd/Service.pm: Package declaration must match filename at line 26, column 1. Correct the filename or package statement. (Severity: 5)
argonaut-client/Argonaut/ClientDaemon/ModulesInitd/System.pm: Package declaration must match filename at line 26, column 1. Correct the filename or package statement. (Severity: 5)
argonaut-client/Argonaut/ClientDaemon/ModulesSystemd/Service.pm: Package declaration must match filename at line 26, column 1. Correct the filename or package statement. (Severity: 5)
argonaut-client/Argonaut/ClientDaemon/ModulesSystemd/System.pm: Package declaration must match filename at line 26, column 1. Correct the filename or package statement. (Severity: 5)
Reproduces how often:
every run pf perl critic
Additional Information
we have to add ##no critic ##use critic to falg the package:: section to not be checked