Perl::Critic::Policy::Plicease::ProhibitSpecificModules - Prohibit the use of specific modules or pragmas
version 0.07
perlcriticrc:
[Plicease::ProhibitSpecificModules] illicit_modules = Foo Bar
code:
use Foo; # not ok use Bar; # not ok use Baz; # ok
The policy Perl::Critic::Policy::Community::DiscouragedModules provides a good start for modules that typically should not be used in new code, however for specific organizational policies, you may want to disallow specific modules. This policy has been designed to allow you to do exactly that without any "starter" disallowed modules.
None.
Space separated list of modules that should be disallowed.
The policy is also configurable with the standard options.
Author: Graham Ollis <plicease@cpan.org>
Contributors:
Ville Skyttä (SCOP)
Yoshikazu Sawa (yoshikazusawa)
This software is copyright (c) 2019-2024 by Graham Ollis.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.