NAME

ExtUtils::MM_Any - Platform agnostic MM methods

SYNOPSIS

FOR INTERNAL USE ONLY!

package ExtUtils::MM_SomeOS;

# For the moment, you get at MM_Any via MM_Unix
require ExtUtils::MM_Unix;
@ISA = qw(ExtUtils::MM_Unix);

DESCRIPTION

FOR INTERNAL USE ONLY!

ExtUtils::MM_Any is a superclass for the ExtUtils::MM_* set of modules. It contains methods which are either inherently cross-platform or are written in a cross-platform manner.

THIS MAY BE TEMPORARY! Do not subclass or use ExtUtils::MM_Any directly. Instead, subclass from ExtUtils::MM_Unix.

Inherently Cross-Platform Methods

These are methods which are by their nature cross-platform and should always be cross-platform.

File::Spec wrappers DEPRECATED

The following methods are deprecated wrappers around File::Spec functions. They exist from before File::Spec did and in fact are from which File::Spec sprang.

They are all deprecated. Please use File::Spec directly.

canonpath
catdir
catfile
curdir
file_name_is_absolute
rootdir
updir

Thought To Be Cross-Platform Methods

These are methods which are thought to be cross-platform by virtue of having been written in a way to avoid incompatibilities.

test_via_harness
my $command = $mm->test_via_harness($perl, $tests);

Returns a $command line which runs the given set of $tests with Test::Harness and the given $perl.

Used on the t/*.t files.

test_via_script
my $command = $mm->test_via_script($perl, $script);

Returns a $command line which just runs a single test without Test::Harness. No checks are done on the results, they're just printed.

Used for test.pl, since they don't always follow Test::Harness formatting.

AUTHOR

Michael G Schwern <schwern@pobox.com> with code from ExtUtils::MM_Unix and ExtUtils::MM_Win32.