🌻 📖 Perl::Critic::Policy::Plicease::ProhibitSpecificModules

NAME

Perl::Critic::Policy::Plicease::ProhibitSpecificModules - Prohibit the use of specific modules or pragmas

VERSION

version 0.07

SYNOPSIS

perlcriticrc:

 [Plicease::ProhibitSpecificModules]
 illicit_modules = Foo Bar

code:

 use Foo; # not ok
 use Bar; # not ok
 use Baz; # ok

DESCRIPTION

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.

AFFILIATION

None.

CONFIGURATION

The policy is also configurable with the standard options.

AUTHOR

Author: Graham Ollis <plicease@cpan.org>

Contributors:

Ville Skyttä (SCOP)

Yoshikazu Sawa (yoshikazusawa)

COPYRIGHT AND LICENSE

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.