Perl::Critic::ProfilePrototype - Generate a Perl::Critic profile


Perl::Critic::ProfilePrototype - Generate a Perl::Critic profile


This is a helper class that generates a prototype of a the Perl::Critic manpage profile (e.g. a .perlcriticrc file. There are no user-serviceable parts here.


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


Returns a string representation of this ProfilePrototype. See OVERLOADS for more information.


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


Jeffrey Ryan Thalhammer <>


Copyright (c) 2005-2007 Jeffrey Ryan Thalhammer. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of this license can be found in the LICENSE file included with this module.

 Perl::Critic::ProfilePrototype - Generate a Perl::Critic profile