lib/ExtUtils/MM_Win95.pm

filter: Statementstmt 73.3% 11 / 15 Branchbran n/a Conditioncond 0.0% 0 / 2 MC/DCmcdc 0.0% 0 / 1 Subroutinesub 50.0% 2 / 4 Podpod 100% 2 / 2 totaltotal 62.5% 15 / 24 CC 2 SCAR 11.6
CC
2
Cov
65%
max_exec_len
6.0
os_flavor
2.0
BEGIN
1.0
CRAP 3.2
« lib/ExtUtils/MM_Darwin.pm ↑ Summary blib/lib/ExtUtils/Liblist.pm »
1 package ExtUtils::MM_Win95;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 1 our $VERSION = '7.13_01';
6 1 $VERSION = eval $VERSION;
7  
8 1 require ExtUtils::MM_Win32;
9 1 our @ISA = qw(ExtUtils::MM_Win32);
10  
11 1 ▶use ExtUtils::MakeMaker::Config;
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13  
14 =head1 NAME
15  
16 ExtUtils::MM_Win95 - method to customize MakeMaker for Win9X
17  
18 =head1 SYNOPSIS
19  
20 You should not be using this module directly.
21  
22 =head1 DESCRIPTION
23  
24 This is a subclass of ExtUtils::MM_Win32 containing changes necessary
25 to get MakeMaker playing nice with command.com and other Win9Xisms.
26  
27 =head2 Overridden methods
28  
29 Most of these make up for limitations in the Win9x/nmake command shell.
30  
31 =over 4
32  
33  
34 =item max_exec_len
35  
36 Win98 chokes on things like Encode if we set the max length to nmake's max
37 of 2K. So we go for a more conservative value of 1K.
38  
39 =cut
40  
41 sub max_exec_len {
42 0 ▶ my $self = shift;
Subroutine max_exec_len: not called CC=2 SCAR=17.9
Pod documented
43  
44 0 ▶ return $self->{_MAX_EXEC_LEN} ||= 1024;
Condition0%0/2
$self->{"_MAX_EXEC_LEN"} ||= 1024
l!l
00
MC/DC0%0/1
$self->{"_MAX_EXEC_LEN"} ||= 1024
$self->{"_MAX_EXEC_LEN"}
Truth table0%0/2
A
A= $self->{"_MAX_EXEC_LEN"}
Aresult
11
00
45 }
46  
47  
48 =item os_flavor
49  
50 Win95 and Win98 and WinME are collectively Win9x and Win32
51  
52 =cut
53  
54 sub os_flavor {
55 0 ▶ my $self = shift;
Subroutine os_flavor: not called CC=1 SCAR=6.9
Pod documented
56 0 return ($self->SUPER::os_flavor, 'Win9x');
57 }
58  
59  
60 =back
61  
62  
63 =head1 AUTHOR
64  
65 Code originally inside MM_Win32. Original author unknown.
66  
67 Currently maintained by Michael G Schwern C<schwern@pobox.com>.
68  
69 Send patches and ideas to C<makemaker@perl.org>.
70  
71 See https://metacpan.org/release/ExtUtils-MakeMaker.
72  
73 =cut
74  
75  
76 1 1;
« lib/ExtUtils/MM_Darwin.pm ↑ Summary blib/lib/ExtUtils/Liblist.pm »