NAME

Test::MinimumVersion - does your code require newer perl than you think?

VERSION

version 0.003

$Id: /my/cs/projects/Test-MinimumVersion/trunk/lib/Test/MinimumVersion.pm 31298 2007-04-04T03:01:22.276227Z rjbs  $

SYNOPSIS

Achtung!

This interface may change slightly over the next few weeks.
-- rjbs, 2007-04-02

Example minimum-perl.t:

#!perl
use Test::MinimumVersion;
all_minimum_version_ok('5.008');

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 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)
        if it contains files, they will be checked

TODO

AUTHOR

Ricardo SIGNES, <rjbs at cpan.org>

COPYRIGHT & LICENSE

Copyright 2007 Ricardo SIGNES, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.