ePages 6.11.0 - DE_EPAGES/XML/Scripts/Perl/Critic/Policy/DE_EPAGES/Style/RequireCorrectImports.pm

Package Perl::Critic::Policy::DE_EPAGES::Style::RequireCorrectImports

This module checks for imports which are not used. If, for example, your module contains use DE_EPAGES::Core::API::File qw( GetFileMD5Digest ); but in your implementation the function GetFileMD5Digest is not used, a violation will be displayed. By default all modules are tested. You can change this by setting the value 'ignore_generated' to 1 in your perlcriticrc file. Known problems: This rule only works correcly for one package per file. Use ProhibitMultiplePackages in combination with this rule. §parameters none