File Coverage

lib/ExtUtils/MM_Win95.pm
Criterion Covered Total %
statement 9 13 69.2
branch n/a
condition 0 2 0.0
subroutine 3 5 60.0
pod 2 2 100.0
total 14 22 63.6


line stmt bran cond sub pod time code
1              
2             use strict;
3 1     1   28474 use warnings;
  1         2  
  1         28  
4 1     1   4  
  1         3  
  1         65  
5             our $VERSION = '7.64';
6             $VERSION =~ tr/_//d;
7              
8             require ExtUtils::MM_Win32;
9             our @ISA = qw(ExtUtils::MM_Win32);
10              
11             use ExtUtils::MakeMaker::Config;
12 1     1   6  
  1         2  
  1         13  
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 L<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             my $self = shift;
42              
43 0     0 1   return $self->{_MAX_EXEC_LEN} ||= 1024;
44             }
45 0   0        
46              
47             =item os_flavor
48              
49             Win95 and Win98 and WinME are collectively Win9x and Win32
50              
51             =cut
52              
53             my $self = shift;
54             return ($self->SUPER::os_flavor, 'Win9x');
55             }
56 0     0 1    
57 0            
58             =back
59              
60              
61             =head1 AUTHOR
62              
63             Code originally inside MM_Win32. Original author unknown.
64              
65             Currently maintained by Michael G Schwern C<schwern@pobox.com>.
66              
67             Send patches and ideas to C<makemaker@perl.org>.
68              
69             See https://metacpan.org/release/ExtUtils-MakeMaker.
70              
71             =cut
72              
73              
74             1;