Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

test::minimumversion(3) [centos man page]

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

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.16.3 2010-04-18 Test::MinimumVersion(3)

Check Out this Related Man Page

Test::CPAN::Changes(3)					User Contributed Perl Documentation				    Test::CPAN::Changes(3)

NAME
Test::CPAN::Changes - Validation of the Changes file in a CPAN distribution SYNOPSIS
use Test::More; eval 'use Test::CPAN::Changes'; plan skip_all => 'Test::CPAN::Changes required for this test' if $@; changes_ok(); DESCRIPTION
This module allows CPAN authors to write automated tests to ensure their changelogs match the specification. METHODS
changes_ok( ) Simple wrapper around "changes_file_ok". Declares a four test plan, and uses the default filename of "Changes". changes_file_ok( $filename, \%arg ) Checks the contents of the changes file against the specification. No plan is declared and if the filename is undefined, "Changes" is used. %arg may include a version entry, in which case the entry for that version must exist and have content. This is useful to ensure that the version currently being released has documented changes. SEE ALSO
o CPAN::Changes::Spec o CPAN::Changes AUTHOR
Brian Cassidy <bricas@cpan.org> COPYRIGHT AND LICENSE
Copyright 2011-2013 by Brian Cassidy This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.16.3 2013-05-02 Test::CPAN::Changes(3)
Man Page

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

free download indigo perl for windows

i want test perl program with indigo perl before i transfer it to the web, where i could get a free one software (2 Replies)
Discussion started by: zeoous
2 Replies

2. UNIX for Dummies Questions & Answers

Find files newer than...

Is there a way to use the find command to locate files newer than a specific date? Thanks! --Alex (4 Replies)
Discussion started by: vertigo23
4 Replies

3. UNIX for Dummies Questions & Answers

What am I doing wrong?

I really just mess around in UNIX, for the most part, when I want to get something done. I can usually piece things together by searching for brief how-to's on Google, but the syntax errors in my following .sh file are really confusing me. I've got lots of programming experience in other places, so... (7 Replies)
Discussion started by: demonpants
7 Replies

4. Shell Programming and Scripting

perl Help

Hi i want to search a perticular file in a directory. How to do it in perl. Suppose i have a file test.pl in a directory $pot=/home/Raj/. How to find the file test.pl. Regards Harikrishna (2 Replies)
Discussion started by: Harikrishna
2 Replies

5. Shell Programming and Scripting

Append the data to first column

Hi, The below is the content of the file. 008.03.50.21|ID4|0015a3f01cf3 008.04.20.16|ID3|0015a3f02337 008.04.20.17|ID4_1xVoice|00131180d80e 008.04.20.03|ID3_1xVoice|0015a3694125 008.04.30.05|ID3_1xVoice|0015a3f038af 008.06.30.17|ID3_1xVoice|00159660d454... (2 Replies)
Discussion started by: ravi_rn
2 Replies

6. UNIX for Dummies Questions & Answers

Find files newer than x days

We had an arrant rsync run and started copying over new files from one system to another. Although this is what we will want to do at some point, for now, we want to maintain the system as it was a few days ago. I am looking for a script that will find files that are newer than x days. ... (5 Replies)
Discussion started by: Leyva62
5 Replies

7. Programming

Help me with perl script.

Hi, I am beginner to perl programming language. I have large XML file it contains information about all diagnostic tests and their descriptions. each diagnostic test having one code like "1100" and regarding description in xml comments. for example my xml code like this <data> ... (16 Replies)
Discussion started by: veerubiji
16 Replies

8. Programming

Perl 2 files compares

What do i need to do have the below perl program load 205 million record files into the hash. It currently works on smaller files, but not working on huge files. Any idea what i need to do to modify to make it work with huge files: #!/usr/bin/perl $ot1=$ARGV; $ot2=$ARGV; open(mfileot1,... (2 Replies)
Discussion started by: mrn6430
2 Replies

9. Programming

Performing a while for two files

Hi, This is for Perl. I have a while loop, and would like to process two files, the formats are given below : access access.<previousday>-* How can perform a while loop on both logs, while creating the logic for access.<previousday>-* to get format like "access.20130615-124139" when... (11 Replies)
Discussion started by: susankoperna1
11 Replies