1Perl::Critic::Policy::MUosdeurlPeCesor:nl:t:Pr:eiCrbrluiMttieindci:mP:uePmroVlleirDcsoyic:ou:nmM(eo3nd)tualteiso:n:PerlMinimumVersion(3)
2
3
4

NAME

6       Perl::Critic::Policy::Modules::PerlMinimumVersion - Enforce backward
7       compatible code.
8

AFFILIATION

10       This policy is part of Perl::Critic::More, a bleeding edge supplement
11       to Perl::Critic.
12

DESCRIPTION

14       As Perl evolves, new desirable features get added.  The best ones seem
15       to break backward compatibility, unfortunately.  This policy allows you
16       to specify a mandatory compatibility version for your code.
17
18       For example, if you add the following to your .perlcriticrc file:
19
20         [Modules::PerlMinimumVersion]
21         version = 5.005
22
23       then any code that employs "our" will fail this policy, for example.
24       By default, this policy enforces the current Perl version, which is a
25       pretty weak statement.
26
27       This policy relies on Perl::MinimumVersion to do the heavy lifting.  If
28       that module is not installed, then this policy always passes.
29

AUTHOR

31       Chris Dolan <cdolan@cpan.org>
32
34       Copyright (c) 2006-2008 Chris Dolan
35
36       This program is free software; you can redistribute it and/or modify it
37       under the same terms as Perl itself.  The full text of this license can
38       be found in the LICENSE file included with this module.
39
40
41
42perl v5.32.1              Perl::Cr2i0t2i1c-:0:1P-o2l7icy::Modules::PerlMinimumVersion(3)
Impressum