Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

perlver(1) [centos man page]

PERLVER(1)						User Contributed Perl Documentation						PERLVER(1)

NAME
perlver - The Perl Minimum Version Analyzer SYNOPSIS
adam@red:~$ perlver Perl-MinimumVersion Found directory '.' Searching for Perl files... found 3 file(s) Scanning lib/Perl/MinimumVersion.pm... done Scanning t/01_compile.t... done Scanning t/02_main.t... done --------------------------------------------------------- | file | explicit | syntax | external | | --------------------------------------------------------- | | lib/Perl/MinimumVersion.pm | 5.005 | ~ | n/a | | t/01_compile.t | ~ | ~ | n/a | | t/02_main.t | ~ | ~ | n/a | --------------------------------------------------------- Minimum version of Perl required: ... adam@red:~$ DESCRIPTION
"perlver" is a console script created to provide convenient access to the functionality provided by Perl::MinimumVersion. --blame option shows code which requires this version of perl The synopsis above pretty much covers all you need to know at this point. TO DO
- Add PPI::Cache integration - Add PPI::Metrics integration (once it exists) - Add some sort of parseable output SUPPORT
All bugs should be filed via the bug tracker at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Perl-MinimumVersion> For other issues, or commercial enhancement and support, contact the author AUTHORS
Adam Kennedy <adamk@cpan.org> SEE ALSO
PPI, Perl::MinimumVersion COPYRIGHT
Copyright 2005 - 2012 Adam Kennedy. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of the license can be found in the LICENSE file included with this module. perl v5.16.3 2013-01-16 PERLVER(1)

Check Out this Related Man Page

Test::MinimumVersion(3pm)				User Contributed Perl Documentation				 Test::MinimumVersion(3pm)

NAME
Test::MinimumVersion - does your code require newer perl than you think? VERSION
version 0.101080 SYNOPSIS
Example minimum-perl.t: #!perl use Test::MinimumVersion; all_minimum_version_ok('5.008'); FUNCTIONS
minimum_version_ok minimum_version_ok($file, $version); This test passes if the given file does not seem to require any version of perl newer than $version, which may be given as a version string or a version object. all_minimum_version_ok all_minimum_version_ok($version, \%arg); Given either a version string or a version object, this routine produces a test plan (if there is no plan) and tests each relevant file with "minimum_version_ok". Relevant files are found by File::Find::Rule::Perl. "\%arg" is optional. Valid arguments are: paths - in what paths to look for files; defaults to (t, lib, xt/smoke, and any .pm or .PL files in the current working directory) if it contains files, they will be checked no_plan - do not plan the tests about to be run all_minimum_version_from_metayml_ok all_minimum_version_from_metayml_ok(\%arg); This routine checks META.yml for an entry in requires for perl. If no META.yml file or no perl version is found, all tests are skipped. If a version is found, the test proceeds as if "all_minimum_version_ok" had been called with that version. AUTHOR
Ricardo Signes COPYRIGHT AND LICENSE
This software is copyright (c) 2007 by Ricardo Signes. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.10.1 2010-04-18 Test::MinimumVersion(3pm)
Man Page

7 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Scanning file backwards

Is there any way to look for a directory path that is listed any number of lines *before* a keyword in an error message? I have a script that is trying to process different files that are always down a certain portion of a path, and if there is an error, then says there is an error, contact... (2 Replies)
Discussion started by: tekster757
2 Replies

2. Shell Programming and Scripting

Perl compilation errror on Linux 9.0

Hi, I installed Perl 5.8.9 on Linux machine and when I complied Perl script.It give error like :- perl: relocation error: /opt/ActivePerl-5.8/lib/auto/IO/IO.so: undefined symbol: Perl_newXS_flags Please provide solution to this issue. Thanks in advance. (1 Reply)
Discussion started by: allways4u21
1 Replies

3. Shell Programming and Scripting

Perl issue - please help!

Hello. I've been writing some code in Perl to read in strings from html files and have been having issues. In the html file, each "paragraph" is a certain file on the website. I need to find every one of the files that is a certain type, in this case, having green color....therefore... (7 Replies)
Discussion started by: akreibich07
7 Replies

4. Shell Programming and Scripting

Help understanding 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 this was... (0 Replies)
Discussion started by: RedSpyder
0 Replies

5. 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

6. UNIX for Dummies Questions & Answers

Perl syntax

Query with perl syntax Aim: is to change a perl script to use a new file I was required to replace - entries \"$entries\" with -lib <full_path_to_filename> So in the code detector.pm sub rundetector { my $class = shift; mkdir($resultDirectory); my... (3 Replies)
Discussion started by: sa@@
3 Replies

7. 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