👤
Home Man
Search
Today's Posts
Register

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:
Select Section of Man Page:
Select Man Page Repository:

CentOS 7.0 - man page for perl::critic::policy::modules::perlminimumversion (centos section 3)

Perl::Critic::Policy::Modules::UserMContributPerl::Critic::Policy::Modules::PerlMinimumVersion(3)

NAME
       Perl::Critic::Policy::Modules::PerlMinimumVersion - Enforce backward compatible code.

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

DESCRIPTION
       As Perl evolves, new desirable features get added.  The best ones seem to break backward
       compatibility, unfortunately.  This policy allows you to specify a mandatory compatibility
       version for your code.

       For example, if you add the following to your .perlcriticrc file:

	 [Modules::PerlMinimumVersion]
	 version = 5.005

       then any code that employs "our" will fail this policy, for example.  By default, this
       policy enforces the current Perl version, which is a pretty weak statement.

       This policy relies on Perl::MinimumVersion to do the heavy lifting.  If that module is not
       installed, then this policy always passes.

AUTHOR
       Chris Dolan <cdolan@cpan.org>

COPYRIGHT
       Copyright (c) 2006-2008 Chris Dolan

       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.

perl v5.16.3				    2Perl::Critic::Policy::Modules::PerlMinimumVersion(3)


All times are GMT -4. The time now is 10:03 PM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
×
UNIX.COM Login
Username:
Password:  
Show Password