File Coverage

blib/lib/Devel/AssertOS/EBCDIC.pm
Criterion Covered Total %
statement 15 15 100.0
branch n/a
condition n/a
subroutine 7 7 100.0
pod n/a
total 22 22 100.0


line stmt bran cond sub pod time code
1             package Devel::AssertOS::EBCDIC;
2              
3 2     2   15 use Devel::CheckOS;
  2         5  
  2         96  
4 2     2   11 use strict;
  2         5  
  2         46  
5 2     2   11 use warnings;
  2         3  
  2         68  
6 2     2   12 no warnings 'redefine';
  2         4  
  2         303  
7              
8             our $VERSION = '1.0';
9              
10             # list of OSes lifted from Module::Build 0.2808
11             #
12             sub matches {
13 3     3   21 return qw(
14             OS390 OS400 POSIXBC VMESA
15             );
16             }
17 2     2   7 sub os_is { Devel::CheckOS::os_is(matches()); }
18             Devel::CheckOS::die_unsupported() unless(os_is());
19              
20             sub expn {
21 1     1   85 "The OS uses some variant of EBCDIC instead of ASCII."
22             }
23              
24             =head1 COPYRIGHT and LICENCE
25              
26             Copyright 2023 David Cantrell
27              
28             This software is free-as-in-speech software, and may be used, distributed, and modified under the terms of either the GNU General Public Licence version 2 or the Artistic Licence. It's up to you which one you use. The full text of the licences can be found in the files GPL2.txt and ARTISTIC.txt, respectively.
29              
30             =cut
31              
32             1;