Subject: | RequirePackageWarnings, Args Error |
Broken in 0.15 as well,
# Failed test 'blib/lib/DSS/App/DCSE/Ocse/Overview.pm'
# in /usr/lib/perl5/site_perl/5.8.3/Test/Perl/Critic.pm at line 98.
#
# Perl::Critic had errors in 'blib/lib/DSS/App/DCSE/Ocse/Overview.pm':
# Wrong number of args to Violation->new() at
/usr/lib/perl5/site_perl/5.8.3/Perl/Critic/Policy/TestingAndDebugging/RequirePackageWarnings.pm
line 53
I ran this against my module and encountered this error. It appears
that the PolicyEditor did not like this,
#use warnings;
When I removed the comment it compiled fine. I added the comment to
prevent warning of non-critical errors for production. If need the code
from my module I can send it to you via email.
Steve K