Perl::Critic::PolicyListing.3pm

Langue: en

Version: 2008-03-08 (mandriva - 01/05/08)

Section: 3 (Bibliothèques de fonctions)

NAME

Perl::Critic::PolicyListing - Display minimal information about Policies.

DESCRIPTION

This is a helper class that formats a set of Policy objects for pretty-printing. There are no user-serviceable parts here.

CONSTRUCTOR

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

METHODS

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

OVERLOADS

When a Perl::Critic::ProfilePrototype is evaluated in string context, it produces a one-line summary of the default severity, policy name, and default themes for each Perl::Critic::Policy object that was given to the constructor of this "PolicyListing".

AUTHOR

Jeffrey Ryan Thalhammer <thaljef@cpan.org> Copyright (c) 2005-2008 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.