1Perl::Critic::ProfilePrUosteortyCpoen(t3rpimb)uted PerlPDeorclu:m:eCnrtiattiico:n:ProfilePrototype(3pm)
2
3
4

NAME

6       Perl::Critic::ProfilePrototype - Generate an initial Perl::Critic
7       profile.
8

DESCRIPTION

10       This is a helper class that generates a prototype of a Perl::Critic
11       profile (e.g. a .perlcriticrc file).  There are no user-serviceable
12       parts here.
13

INTERFACE SUPPORT

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

CONSTRUCTOR

19       "new( -policies => \@POLICY_OBJECTS )"
20           Returns a reference to a new "Perl::Critic::ProfilePrototype"
21           object.
22

METHODS

24       to_string()
25           Returns a string representation of this "ProfilePrototype".  See
26           "OVERLOADS" for more information.
27

OVERLOADS

29       When a Perl::Critic::ProfilePrototype is evaluated in string context,
30       it produces a multi-line summary of the policy name, default themes,
31       and default severity for each Perl::Critic::Policy object that was
32       given to the constructor of this "ProfilePrototype".  If the Policy
33       supports an additional parameters, they will also be listed (but
34       commented-out).  The format is suitable for use as a .perlcriticrc
35       file.
36

AUTHOR

38       Jeffrey Ryan Thalhammer <jeff@imaginative-software.com>
39
41       Copyright (c) 2005-2023 Imaginative Software Systems
42
43       This program is free software; you can redistribute it and/or modify it
44       under the same terms as Perl itself.  The full text of this license can
45       be found in the LICENSE file included with this module.
46
47
48
49perl v5.38.0                      2023-09-25Perl::Critic::ProfilePrototype(3pm)
Impressum