File Coverage

inc/Marpa/R2/Config.pm
Criterion Covered Total %
statement 8 8 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 11 11 100.0


line stmt bran cond sub pod time code
1             # Copyright 2022 Jeffrey Kegler
2             # This file is part of Marpa::R2. Marpa::R2 is free software: you can
3             # redistribute it and/or modify it under the terms of the GNU Lesser
4             # General Public License as published by the Free Software Foundation,
5             # either version 3 of the License, or (at your option) any later version.
6             #
7             # Marpa::R2 is distributed in the hope that it will be useful,
8             # but WITHOUT ANY WARRANTY; without even the implied warranty of
9             # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10             # Lesser General Public License for more details.
11             #
12             # You should have received a copy of the GNU Lesser
13             # General Public License along with Marpa::R2. If not, see
14             # http://www.gnu.org/licenses/.
15              
16             # This file is editable. It is used during the
17             # configuration process to set up version information.
18              
19             package Marpa::R2;
20              
21 11     11   197 use 5.010001;
  11         39  
22              
23 11     11   56 use strict;
  11         30  
  11         238  
24 11     11   46 use warnings;
  11         35  
  11         1591  
25              
26             my %perl_autoconf_os =
27             map { $_ => 1 } qw( MSWin32 openbsd solaris sunos midnightbsd );
28             $Marpa::R2::USE_PERL_AUTOCONF = $ENV{MARPA_USE_PERL_AUTOCONF}
29             || ( $perl_autoconf_os{$^O} // 0 );
30              
31             %Marpa::R2::VERSION_FOR_CONFIG = (
32             'Carp' => '1.08',
33             'Config::AutoConf' => '0.22',
34             'CPAN::Meta::Converter' => '2.120921',
35             'Cwd' => '3.2501',
36             'Data::Dumper' => '2.125',
37             'DynaLoader' => '1.08',
38             'English' => '1.04',
39             'Exporter' => '5.62',
40             'ExtUtils::CBuilder' => '0.27',
41             'ExtUtils::MakeMaker' => '6.42',
42             'ExtUtils::Manifest' => '1.51_01',
43             'ExtUtils::Mkbootstrap' => '6.42',
44             'Fatal' => '1.05',
45             'File::Copy' => '2.11',
46             'File::Spec' => '3.2501',
47             'HTML::Entities' => '3.68',
48             'HTML::Parser' => '3.69',
49             'IPC::Cmd' => '0.40_1',
50             'List::Util' => '1.21',
51             'Module::Build' => '0.4003',
52             'PPI' => '1.206',
53             'Scalar::Util' => '1.21',
54             'Test::More' => '0.94',
55             'Time::Piece' => '1.12',
56             'XSLoader' => '0.08',
57             );
58              
59             1;
60              
61             # vim: expandtab shiftwidth=4: