Subject: | perlcritic test may fail |
I see test failures like:
...
Couldn't require Perl::Critic::Policy::Documentation::PodSpelling : Insecure $ENV{PATH} while running with -T switch at /opt/perl-5.20.0t/lib/site_perl/5.20.0/File/HomeDir/FreeDesktop.pm li
ne 32.
Compilation failed in require at /opt/perl-5.20.0t/lib/site_perl/5.20.0/Pod/Spell.pm line 10.
BEGIN failed--compilation aborted at /opt/perl-5.20.0t/lib/site_perl/5.20.0/Pod/Spell.pm line 10.
Compilation failed in require at /opt/perl-5.20.0t/lib/site_perl/5.20.0/Perl/Critic/Policy/Documentation/PodSpelling.pm line 14.
BEGIN failed--compilation aborted at /opt/perl-5.20.0t/lib/site_perl/5.20.0/Perl/Critic/Policy/Documentation/PodSpelling.pm line 14.
Compilation failed in require at /opt/perl-5.20.0t/lib/site_perl/5.20.0/Module/Runtime.pm line 317.
at /opt/perl-5.20.0t/lib/site_perl/5.20.0/Module/Pluggable.pm line 32.
# Failed test 'Test::Perl::Critic for "blib/lib/Template/Provider/CustomDBIC.pm"'
# at /opt/perl-5.20.0t/lib/site_perl/5.20.0/Test/Perl/Critic.pm line 104.
#
# Variable, subroutine, and package names have to be in CamelCase at line 116, column 1. (no explanation). (Severity: 5)
# Variable, subroutine, and package names have to be in CamelCase at line 117, column 10. (no explanation). (Severity: 5)
# Variable, subroutine, and package names have to be in CamelCase at line 117, column 17. (no explanation). (Severity: 5)
...
The CamelCase checks are probably from the OTRS perlcritic plugin.