1Perl::Critic::Policy::MUosdeurPleeCrsol:n::t:PrCrirobihutitibecid:t:EPPveoirllliMcoDydo:uc:luMemosed(nu3tl)aetsi:o:nProhibitEvilModules(3)
2
3
4

NAME

6       Perl::Critic::Policy::Modules::ProhibitEvilModules
7

DESCRIPTION

9       Use this policy if you wish to prohibit the use of specific modules.
10       These may be modules that you feel are deprecated, buggy, unsupported,
11       insecure, or just don't like.
12

CONFIGURATION

14       The set of prohibited modules is configurable via the "modules" option.
15       The value of "modules" should be a string of space-delimited, fully
16       qualified module names and/or regular expressions.  An example of pro‐
17       hibiting two specific modules in a .perlcriticrc file:
18
19         [Modules::ProhibitEvilModules]
20         modules = Getopt::Std Autoload
21
22       Regular expressions are identified by values beginning and ending with
23       slashes.  Any module with a name that matches "m/pattern/" will be for‐
24       bidden.  For example:
25
26         [Modules::ProhibitEvilModules]
27         modules = /Acme::/
28
29       would cause all modules that match "m/Acme::/" to be forbidden.  You
30       can add any of the "imxs" switches to the end of a pattern, but be
31       aware that patterns cannot contain whitespace because the configuration
32       file parser uses it to delimit the module names and patterns.
33
34       By default, there are no prohibited modules (although I can think of a
35       few that should be).
36

NOTES

38       Note that this policy doesn't apply to pragmas.  Future versions may
39       allow you to specify an alternative for each prohibited module, which
40       can be suggested by Perl::Critic.
41

AUTHOR

43       Jeffrey Ryan Thalhammer <thaljef@cpan.org>
44
46       Copyright (c) 2005-2007 Jeffrey Ryan Thalhammer.  All rights reserved.
47
48       This program is free software; you can redistribute it and/or modify it
49       under the same terms as Perl itself.  The full text of this license can
50       be found in the LICENSE file included with this module.
51
52
53
54perl v5.8.8              Perl::Cri2t0i0c7:-:0P3o-l2i0cy::Modules::ProhibitEvilModules(3)
Impressum