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)
Check Out this Related Man Page
PERLVER(1p) User Contributed Perl Documentation PERLVER(1p)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.
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 - 2011 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.10.1 2011-03-02 PERLVER(1p)
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)
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)
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)
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)
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)
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)