1Perl::Critic::ProfilePrUosteortyCpoen(t3r)ibuted Perl DoPceurmle:n:tCartiitoinc::ProfilePrototype(3)
2
3
4
6 Perl::Critic::ProfilePrototype - Generate an initial Perl::Critic
7 profile.
8
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
15 This is considered to be a non-public class. Its interface is subject
16 to change without notice.
17
19 "new( -policies => \@POLICY_OBJECTS )"
20 Returns a reference to a new "Perl::Critic::ProfilePrototype"
21 object.
22
24 to_string()
25 Returns a string representation of this "ProfilePrototype". See
26 "OVERLOADS" for more information.
27
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
38 Jeffrey Ryan Thalhammer <jeff@imaginative-software.com>
39
41 Copyright (c) 2005-2011 Imaginative Software Systems. All rights
42 reserved.
43
44 This program is free software; you can redistribute it and/or modify it
45 under the same terms as Perl itself. The full text of this license can
46 be found in the LICENSE file included with this module.
47
48
49
50perl v5.34.0 2022-01-21 Perl::Critic::ProfilePrototype(3)