Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

perl::critic::policy::modules::perlminimumversion(3) [centos man page]

Perl::Critic::Policy::Modules::PerlMinimumVersion(3)	User Contributed Perl Documentation   Perl::Critic::Policy::Modules::PerlMinimumVersion(3)

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 <> 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 2014-06-10 Perl::Critic::Policy::Modules::PerlMinimumVersion(3)

Check Out this Related Man Page

Perl::Critic::Policy::Variables::ProtectPrivateVars(3pm)User Contributed Perl DocumentatioPerl::Critic::Policy::Variables::ProtectPrivateVars(3pm)

Perl::Critic::Policy::Variables::ProtectPrivateVars - Prevent access to private vars in other packages. AFFILIATION
This Policy is part of the core Perl::Critic distribution. DESCRIPTION
By convention Perl authors (like authors in many other languages) indicate private methods and variables by inserting a leading underscore before the identifier. This policy catches attempts to access private variables from outside the package itself. CONFIGURATION
This Policy is not configurable except for the standard options. HISTORY
This policy is inspired by a similar test in B::Lint SEE ALSO
Perl::Critic::Policy::Subroutines::ProtectPrivateSubs AUTHOR
Chris Dolan <> COPYRIGHT
Copyright (c) 2006-2011 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.14.2 2012-06-07 Perl::Critic::Policy::Variables::ProtectPrivateVars(3pm)
Man Page

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Perl to C convertor

Is there one out there that supports Perl/Tk ??? (5 Replies)
Discussion started by: perleo
5 Replies

2. Shell Programming and Scripting

Replace Perl Module name in all Perl scripts

I want to replace a Perl module name in all my Perl Scripts in the cgi-bin directory. How is it possible? I have the following statement in my scripts use myUtil; I want to change it to use myUtil777; Regards, Rahul (2 Replies)
Discussion started by: rahulrathod
2 Replies

3. Shell Programming and Scripting

Best place on the net to get Perl tutorials ?

I am looking for a full Perl course on internet (tutorial) to learn everything about Perl. I already know a bunch of programing languages. I have started Unix interests this year ever since I installed Ubuntu Linux on my PC AND I also got a job at IBM doing software distributions with... (1 Reply)
Discussion started by: Browser_ice
1 Replies

4. Programming

how to write a sub in Perl

hi, i am a really new to Perl. i have a following code that is working well. " i know this is really simple, but i cant figure out a way to do this. can someone help me please?:( (1 Reply)
Discussion started by: usustarr
1 Replies

5. Solaris

LACP Policy - Which is best?

Hello, I have these S10 boxes with LACP using the L4 policy. Does the L4 policy create a lot more overhead as opposed to using the L2? I'm noticing that my traffic does not seem to be very well load balanced accross the NIC's, and I am wondering if the policy I'm using has anything else to do... (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies

6. Shell Programming and Scripting

Help understanding some Perl code.

Well, I found myself trying to fix some Perl code (Ive never done any Perl in my life) and I pinpointed the place where the bug could be. But to be sure I have to know what does a few line of code mean: $files_lim =~ (/^\d*$/) $files_lim =~ (/^\d*h$/) $files_age =~ s/h// The code where... (2 Replies)
Discussion started by: RedSpyder
2 Replies

7. Shell Programming and Scripting

Perl Methods Calling

Hello I am on my way to improve my wonderful Perl skills, I got an issue which I want to share with you all. I have a Perl module which looks like package Cocoa; require Exporter; @ISA = qw(Exporter); my $a=''; my $b=''; my $c=''; sub new { my $this = shift; # Create... (8 Replies)
Discussion started by: adisky123
8 Replies

8. Shell Programming and Scripting

Perl code request

Hi Perl Experts, I am new to Perl programming. can somebody please help me in writing Perl code for following "find and replace logic". i wanted to find following line in list of files in a given directory. ================================================ for(i=0;i <... (2 Replies)
Discussion started by: chettyravi
2 Replies

9. Shell Programming and Scripting

Issue with Perl Code in 5.10 vs 5.8

Hi All, I am working on Perl script to insert data into a table. It is pretty straight forward. For some reason it is not working in Linux which has 5.10 version of Perl and in AIX where the Perl version is 5.8 it works fine. I don't want to post the entire code here. Let me tell what is... (1 Reply)
Discussion started by: selvankj
1 Replies