This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Update Module-Build to CPAN version 0.4008
[perl5.git] / cpan / Module-Build / lib / Module / Build / Platform / os2.pm
CommitLineData
bb4e9162
YST
1package Module::Build::Platform::os2;
2
3use strict;
7a827510 4use vars qw($VERSION);
6e4bdc3f 5$VERSION = '0.4008';
7a827510 6$VERSION = eval $VERSION;
bb4e9162
YST
7use Module::Build::Platform::Unix;
8
9use vars qw(@ISA);
10@ISA = qw(Module::Build::Platform::Unix);
11
12sub manpage_separator { '.' }
13
dc8021d3 14sub have_forkpipe { 0 }
a314697d 15
613f422f
DG
16# Copied from ExtUtils::MM_OS2::maybe_command
17sub _maybe_command {
18 my($self,$file) = @_;
19 $file =~ s,[/\\]+,/,g;
20 return $file if -x $file && ! -d _;
21 return "$file.exe" if -x "$file.exe" && ! -d _;
22 return "$file.cmd" if -x "$file.cmd" && ! -d _;
23 return;
24}
25
bb4e9162
YST
261;
27__END__
28
29
30=head1 NAME
31
32Module::Build::Platform::os2 - Builder class for OS/2 platform
33
34=head1 DESCRIPTION
35
36This module provides some routines very specific to the OS/2
37platform.
38
39Please see the L<Module::Build> for the general docs.
40
41=head1 AUTHOR
42
77e96e88 43Ken Williams <kwilliams@cpan.org>
bb4e9162
YST
44
45=head1 SEE ALSO
46
47perl(1), Module::Build(3), ExtUtils::MakeMaker(3)
48
49=cut