1Perl::Critic::ProfilePrUosteortyCpoen(t3r)ibuted Perl DoPceurmle:n:tCartiitoinc::ProfilePrototype(3)
2
3
4
6 Perl::Critic::ProfilePrototype - Generate a Perl::Critic profile
7
9 This is a helper class that generates a prototype of a Perl::Critic
10 profile (e.g. a .perlcriticrc file. There are no user-serviceable parts
11 here.
12
14 "new( -policies => \@POLICY_OBJECTS )"
15 Returns a reference to a new "Perl::Critic::ProfilePrototype"
16 object.
17
19 to_string()
20 Returns a string representation of this "ProfilePrototype".
21 See "OVERLOADS" for more information.
22
24 When a Perl::Critic::ProfilePrototype is evaluated in string context,
25 it produces a multi-line summary of the policy name, default themes,
26 and default severity for each Perl::Critic::Policy object that was
27 given to the constructor of this "ProfilePrototype". If the Policy
28 supports an additional parameters, they will also be listed (but com‐
29 mented-out). The format is suitable for use as a .perlcriticrc file.
30
32 Jeffrey Ryan Thalhammer <thaljef@cpan.org>
33
35 Copyright (c) 2005-2007 Jeffrey Ryan Thalhammer. All rights reserved.
36
37 This program is free software; you can redistribute it and/or modify it
38 under the same terms as Perl itself. The full text of this license can
39 be found in the LICENSE file included with this module.
40
41
42
43perl v5.8.8 2007-03-20 Perl::Critic::ProfilePrototype(3)