Perl::Critic::UserProfile - The contents of the user's profile, often .perlcriticrc.
This is a helper class that encapsulates the contents of the user's profile, which is usually stored in a .perlcriticrc file. There are no user-serviceable parts here.
new( -profile =
$p ) >
-profile is the path to the user's profile. If -profile is not defined, then it looks for the profile at ./.perlcriticrc and then $HOME/.perlcriticrc. If neither of those files exists, then the UserProfile is created with default values.
This object does not take into account any command-line overrides; Perl::Critic::Config does that.
options_processor()
policy_is_disabled( $policy )
policy_is_enabled( $policy )
policy_params( $policy )
raw_policy_params( $policy )
listed_policies()
source()
Perl::Critic::Config, Perl::Critic::OptionsProcessor
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.