1Perl::Critic::Utils::CoUnssetranCtosn(t3r)ibuted Perl DoPceurmle:n:tCartiitoinc::Utils::Constants(3)
2
3
4
6 Perl::Critic::Utils::Constants - Global constants.
7
9 Defines commonly used constants for Perl::Critic.
10
12 This is considered to be a public module. Any changes to its interface
13 will go through a deprecation cycle.
14
16 $PROFILE_STRICTNESS_WARN
17 $PROFILE_STRICTNESS_FATAL
18 $PROFILE_STRICTNESS_QUIET
19 $PROFILE_STRICTNESS_DEFAULT
20 %PROFILE_STRICTNESSES
21 Valid values for the "-profile-strictness" in perlcritic option.
22 Determines whether recoverable problems found in a profile file
23 appear as warnings, are fatal, or are ignored.
24 $PROFILE_STRICTNESS_DEFAULT is set to $PROFILE_STRICTNESS_WARN.
25 Importable via the ":profile_strictness" tag.
26
27 $PROFILE_COLOR_SEVERITY_HIGHEST_DEFAULT
28 Default for the -color-severity-highest option. Importable via the
29 ":color_severity" tag.
30
31 $PROFILE_COLOR_SEVERITY_HIGH_DEFAULT
32 Default for the -color-severity-high option. Importable via the
33 ":color_severity" tag.
34
35 $PROFILE_COLOR_SEVERITY_MEDIUM_DEFAULT
36 Default for the -color-severity-medium option. Importable via the
37 ":color_severity" tag.
38
39 $PROFILE_COLOR_SEVERITY_LOW_DEFAULT
40 Default for the -color-severity-low option. Importable via the
41 ":color_severity" tag.
42
43 $PROFILE_COLOR_SEVERITY_LOWEST_DEFAULT
44 Default for the -color-severity-lowest option. Importable via the
45 ":color_severity" tag.
46
47 @STRICT_EQUIVALENT_MODULES
48 @WARNINGS_EQUIVALENT_MODULES
49 As the names suggest, these are lists of modules that are
50 equivalent to applying the strict or warnings pragma when loaded.
51 At the moment, both lists are exactly the same. Note: These lists
52 are not exhaustive; they only include the most commonly used
53 modules. Policies that use these lists should permit configuration
54 of additional modules.
55
57 Elliot Shank <perl@galumph.com>
58
60 Copyright (c) 2007-2011 Elliot Shank.
61
62 This program is free software; you can redistribute it and/or modify it
63 under the same terms as Perl itself. The full text of this license can
64 be found in the LICENSE file included with this module.
65
66
67
68perl v5.32.1 2021-03-24 Perl::Critic::Utils::Constants(3)