File Coverage

blib/lib/true/VERSION.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1             package true::VERSION;
2              
3 1     1   525 use strict;
  1         1  
  1         25  
4 1     1   4 use warnings;
  1         2  
  1         30  
5              
6             require true;
7              
8             # XXX this declaration must be on a single line
9             # https://metacpan.org/pod/version#How-to-declare()-a-dotted-decimal-version
10 1     1   356 use version 0.77; our $VERSION = version->declare('v1.0.2');
  1         1589  
  1         5  
11              
12             =head1 NAME
13              
14             true::VERSION - shim to allow modules to depend on true.pm
15              
16             =head1 DESCRIPTION
17              
18             This module exists to work around bugs in the dependency system which
19             prevent modules from depending on L<true>.
20              
21             Instead of depending on L<true>, depend on L<true::VERSION> with the
22             same version number.
23              
24             This module was introduced with version 0.16 of L<true>.
25              
26             =cut