1Perl::Critic::PolicyParUasmePeretreClro::n::tCBrreiihbtauivtcie:od:rP:Po:elSritlcryiDPnoagcrLuaimmseetnt(te3ar)t:i:oBnehavior::StringList(3)
2
3
4

NAME

6       Perl::Critic::PolicyParameter::Behavior::StringList - Actions
7       appropriate for a parameter that is a list of strings.
8

DESCRIPTION

10       Provides a standard set of functionality for a string list
11       Perl::Critic::PolicyParameter so that the developer of a policy does
12       not have to provide it her/himself.
13
14       NOTE: Do not instantiate this class.  Use the singleton instance held
15       onto by Perl::Critic::PolicyParameter.
16

INTERFACE SUPPORT

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

METHODS

22       "initialize_parameter( $parameter, $specification )"
23           Plug in the functionality this behavior provides into the
24           parameter, based upon the configuration provided by the
25           specification.
26
27           This behavior looks for one configuration item:
28
29           always_present_values
30               Optional.  Values that should always be included, regardless of
31               what the configuration of the parameter specifies, as an array
32               reference.
33
34       "generate_parameter_description( $parameter )"
35           Create a description of the parameter, based upon the description
36           on the parameter itself, but enhancing it with information from
37           this behavior.
38
39           In this specific case, the always present values are added at the
40           end.
41

AUTHOR

43       Elliot Shank <perl@galumph.com>
44
46       Copyright (c) 2006-2011 Elliot Shank.
47
48       This program is free software; you can redistribute it and/or modify it
49       under the same terms as Perl itself.  The full text of this license can
50       be found in the LICENSE file included with this module.
51
52
53
54perl v5.28.1            Perl::Crit2i0c1:9:-P0o2l-i0c2yParameter::Behavior::StringList(3)
Impressum