logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Perl::Critic::ProfilePrototype - Generate an initial Perl::Critic profile.

Author

       Jeffrey Ryan Thalhammer <jeff@imaginative-software.com>

Constructor

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

Description

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

Interface Support

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

Methods

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

Name

       Perl::Critic::ProfilePrototype - Generate an initial Perl::Critic profile.

Overloads

       When a Perl::Critic::ProfilePrototype is evaluated in string context, it produces a multi-line summary of
       the policy name, default themes, and default severity for each Perl::Critic::Policy 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.

See Also