Perl::Critic::PolicyListing3pm
Display minimal information about policies.
Overview
This is a helper class that formats a set of Policy objects for pretty-printing. There are no user-serviceable parts here.
Interface support
This is considered to be a non-public class. Its interface is subject to change without notice.
Constructor
- "new( -policies => \@POLICY_OBJECTS )"
-
Returns a reference to a new
"Perl::Critic::PolicyListing"object.
Methods
to_string()-
Returns a string representation of this
"PolicyListing". See "OVERLOADS" for more information.
Overloads
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".
Releases
10 releases since Debian 5.0 (Lenny); the text changed 9 times.