Perl::Critic::OptionsProcessor - The global configuration default values, combined with command-line values. |
Perl::Critic::OptionsProcessor - The global configuration default values, combined with command-line values.
This is a helper class that encapsulates the default parameters for constructing a Perl::Critic::Config object. There are no user-serviceable parts here.
This is considered to be a non-public class. Its interface is subject to change without notice.
new( %DEFAULT_PARAMS )
Perl::Critic::OptionsProcessor
object.
You can override the coded defaults by passing in name-value pairs
that correspond to the methods listed below.
This is usually only invoked by Perl::Critic::UserProfile, which passes in the global values from a .perlcriticrc file. This object contains no information for individual Policies.
exclude()
force()
force
flag (Either 1 or 0).
include()
only()
only
flag (Either 1 or 0).
profile_strictness()
profile_strictness
as an unvalidated
string.
single_policy()
single-policy
pattern. (As a string.)
severity()
severity
setting. (1..5).
theme()
theme
setting. (As a string).
top()
top
setting. (Either 0 or a positive integer).
verbose()
verbose
setting. (Either a number or format
string).
color()
color
setting. (Either 1 or 0).
pager()
pager
setting. (Either empty string or the pager
command string).
allow_unsafe()
allow-unsafe
setting. (Either 1 or 0).
criticism_fatal()
criticism-fatal
setting (Either 1 or 0).
color_severity_highest()
color_severity_high()
color_severity_medium()
color_severity_low()
color_severity_lowest()
program_extensions()
Perl::Critic::Config, Perl::Critic::UserProfile
Jeffrey Ryan Thalhammer <jeff@imaginative-software.com>
Copyright (c) 2005-2011 Imaginative Software Systems. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of this license can be found in the LICENSE file included with this module.
Perl::Critic::OptionsProcessor - The global configuration default values, combined with command-line values. |