1Test::ConsistentVersionU(s3e)r Contributed Perl DocumentaTteisotn::ConsistentVersion(3)
2
3
4
6 Test::ConsistentVersion - Ensures a CPAN distribution has consistent
7 versioning.
8
10 This document describes Test::ConsistentVersion version 0.3.0
11
13 [In a test file]
14
15 use Test::More;
16
17 if ( not $ENV{TEST_AUTHOR} ) {
18 my $msg = 'Author test. Set $ENV{TEST_AUTHOR} to a true value to run.';
19 plan( skip_all => $msg );
20 }
21
22 eval "use Test::ConsistentVersion";
23 plan skip_all => "Test::ConsistentVersion required for checking versions" if $@;
24 Test::ConsistentVersion::check_consistent_versions();
25
27 The purpose of this module is to make it easy for other distribution
28 authors to have consistent version numbers within the modules (as well
29 as readme file and changelog) of the distribution.
30
32 check_consistent_versions
33 check_consistent_versions()
34
35 Checks the various versions throughout the distribution to ensure
36 they are all consistent.
37
39 Nothing so far.
40
42 Test::ConsistentVersion requires no configuration files or environment
43 variables.
44
46 Test::Builder
47 autodie
48
49 Optional
50
51 Test::Pod::Content
52 For ensuring the module version matches that referenced in the POD.
53
55 None reported.
56
58 No bugs have been reported.
59
60 Please report any bugs or feature requests to
61 "bug-test-consistentversion@rt.cpan.org", or through the web interface
62 at <http://rt.cpan.org>.
63
65 Glenn Fowler "<cebjyre@cpan.org>"
66
67 Thanks to <http://www.affinitylive.com>.
68
70 Copyright (c) 2014, Glenn Fowler "<cebjyre@cpan.org>". All rights
71 reserved.
72
73 This module is free software; you can redistribute it and/or modify it
74 under the same terms as Perl itself. See perlartistic.
75
77 BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
78 FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT
79 WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER
80 PARTIES PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND,
81 EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
82 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
83 ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH
84 YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
85 NECESSARY SERVICING, REPAIR, OR CORRECTION.
86
87 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
88 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
89 REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE LIABLE
90 TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR
91 CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
92 SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
93 RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
94 FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
95 SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
96 DAMAGES.
97
98
99
100perl v5.28.1 2019-02-02 Test::ConsistentVersion(3)