1Perl::Critic::PolicyLisUtsienrg(C3o)ntributed Perl DocumPeenrtla:t:iCornitic::PolicyListing(3)
2
3
4
6 Perl::Critic::PolicyListing - Display minimal information about
7 Policies.
8
10 This is a helper class that formats a set of Policy objects for pretty-
11 printing. There are no user-serviceable parts here.
12
14 This is considered to be a non-public class. Its interface is subject
15 to change without notice.
16
18 "new( -policies => \@POLICY_OBJECTS )"
19 Returns a reference to a new "Perl::Critic::PolicyListing" object.
20
22 to_string()
23 Returns a string representation of this "PolicyListing". See
24 "OVERLOADS" for more information.
25
27 When a Perl::Critic::PolicyListing is evaluated in string context, it
28 produces a one-line summary of the default severity, policy name, and
29 default themes for each Perl::Critic::Policy object that was given to
30 the constructor of this "PolicyListing".
31
33 Jeffrey Ryan Thalhammer <jeff@imaginative-software.com>
34
36 Copyright (c) 2005-2011 Imaginative Software Systems. All rights
37 reserved.
38
39 This program is free software; you can redistribute it and/or modify it
40 under the same terms as Perl itself. The full text of this license can
41 be found in the LICENSE file included with this module.
42
43
44
45perl v5.30.1 2020-01-30 Perl::Critic::PolicyListing(3)