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.
new( %DEFAULT_PARAMS )
Returns a reference to a new 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).
criticism_fatal()
criticism-fatal
setting (Either 1 or 0).
Perl::Critic::Config, Perl::Critic::UserProfile
Jeffrey Ryan Thalhammer <thaljef@cpan.org>
Copyright (c) 2005-2008 Jeffrey Ryan Thalhammer. 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.