Perl::Critic::Defaults - The global configuration default values. |
Perl::Critic::Defaults - The global configuration default values.
This is a helper class that encapsulates the default parameters for constructing a the Perl::Critic::Config manpage object. There are no user-serviceable parts here.
new( %DEFAULT_PARAMS )
Perl::Critic::Defaults
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 the Perl::Critic::UserProfile manpage, 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()
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).
Jeffrey Ryan Thalhammer <thaljef@cpan.org>
Copyright (c) 2005-2007 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.
Perl::Critic::Defaults - The global configuration default values. |