Perl::Critic::PolicyParameter
Metadata about a parameter for a Policy.
- Provided by: libperl-critic-perl (Version: 1.138-1)
- Report a bug
Metadata about a parameter for a Policy.
A provider of validation and parsing of parameter values and metadata about the parameter.
This is considered to be a public class. Any changes to its interface will go through a deprecation cycle.
If no description can be derived, returns the empty string.
Note that the result may contain multiple lines.
The format is a combination of literal and escape characters similar to the way "sprintf" works. If you want to know the specific formatting capabilities, look at String::Format. Valid escape characters are:
"MAKING YOUR POLICY CONFIGURABLE" in Perl::Critic::DEVELOPER
Elliot Shank <perl@galumph.com>
Copyright (c) 2006-2011 Elliot Shank.
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.