Perl::Critic::PolicyListing - Display information about Policies |
Perl::Critic::PolicyListing - Display information about Policies
This is a helper class that formats a set of Policy objects for pretty-printing. There are no user-serviceable parts here.
new( -policies => \@POLICY_OBJECTS )
Perl::Critic::PolicyListing
object.
to_string()
PolicyListing
. See
OVERLOADS for more information.
When a the Perl::Critic::ProfilePrototype manpage is evaluated in string context, it
produces a one-line summary of the default severity, policy name, and default
themes for each the Perl::Critic::Policy manpage object that was given to the
constructor of this PolicyListing
.
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::PolicyListing - Display information about Policies |