diff options
author | Nicholas Clark <nick@ccl4.org> | 2009-10-01 10:20:05 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2009-10-01 10:21:49 +0100 |
commit | 9dafbe2fc44c0ef0c7c99af0a427fcfe1e118eba (patch) | |
tree | a5636f606cc7160536a661ed67169d7d5fb129dc /cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_DOS.pm | |
parent | c53fdc5e9da36f328ab2620f7ca8c96545281734 (diff) | |
download | perl-9dafbe2fc44c0ef0c7c99af0a427fcfe1e118eba.tar.gz |
Move ExtUtils::MakeMaker from ext/ to cpan/
Diffstat (limited to 'cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_DOS.pm')
-rw-r--r-- | cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_DOS.pm | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_DOS.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_DOS.pm new file mode 100644 index 0000000000..84bedeada8 --- /dev/null +++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_DOS.pm @@ -0,0 +1,65 @@ +package ExtUtils::MM_DOS; + +use strict; + +our $VERSION = 6.55_02; + +require ExtUtils::MM_Any; +require ExtUtils::MM_Unix; +our @ISA = qw( ExtUtils::MM_Any ExtUtils::MM_Unix ); + + +=head1 NAME + +ExtUtils::MM_DOS - DOS specific subclass of ExtUtils::MM_Unix + +=head1 SYNOPSIS + + Don't use this module directly. + Use ExtUtils::MM and let it choose. + +=head1 DESCRIPTION + +This is a subclass of ExtUtils::MM_Unix which contains functionality +for DOS. + +Unless otherwise stated, it works just like ExtUtils::MM_Unix + +=head2 Overridden methods + +=over 4 + +=item os_flavor + +=cut + +sub os_flavor { + return('DOS'); +} + +=item B<replace_manpage_separator> + +Generates Foo__Bar.3 style man page names + +=cut + +sub replace_manpage_separator { + my($self, $man) = @_; + + $man =~ s,/+,__,g; + return $man; +} + +=back + +=head1 AUTHOR + +Michael G Schwern <schwern@pobox.com> with code from ExtUtils::MM_Unix + +=head1 SEE ALSO + +L<ExtUtils::MM_Unix>, L<ExtUtils::MakeMaker> + +=cut + +1; |