Perl::Critic::PolicyListing - Display minimal information about Policies.


Perl-Critic documentation  | view source Contained in the Perl-Critic distribution.

Index


NAME

Top

Perl::Critic::PolicyListing - Display minimal information about Policies.

DESCRIPTION

Top

This is a helper class that formats a set of Policy objects for pretty-printing. There are no user-serviceable parts here.

INTERFACE SUPPORT

Top

This is considered to be a non-public class. Its interface is subject to change without notice.

CONSTRUCTOR

Top

new( -policies => \@POLICY_OBJECTS )

Returns a reference to a new Perl::Critic::PolicyListing object.

METHODS

Top

to_string()

Returns a string representation of this PolicyListing. See "OVERLOADS" for more information.

OVERLOADS

Top

When a Perl::Critic::PolicyListing is evaluated in string context, it produces a one-line summary of the default severity, policy name, and default themes for each Perl::Critic::Policy object that was given to the constructor of this PolicyListing.

AUTHOR

Top

Jeffrey Ryan Thalhammer <jeff@imaginative-software.com>

COPYRIGHT

Top


Perl-Critic documentation  | view source Contained in the Perl-Critic distribution.