sourCEntral - mobile manpages

pdf

ExtUtils::MM::Utils

NAME

ExtUtils::MM::Utils − ExtUtils::MM methods without dependency on ExtUtils::MakeMaker

SYNOPSIS

    require ExtUtils::MM::Utils;
    MM−>maybe_command($file);

DESCRIPTION

This is a collection of ExtUtils::MM subroutines that are used by many other modules but that do not need full-featured ExtUtils::MakeMaker. The issue with ExtUtils::MakeMaker is it pulls in Perl header files and that is an overkill for small subroutines.

An example is the IPC::Cmd that caused installing GCC just because of three-line maybe_command() from ExtUtils::MM_Unix.

The intentions is to use ExtUtils::MM::Utils instead of ExtUtils::MakeMaker for these trivial methods. You can still call them via MM class name.

METHODS

maybe_command

Returns true, if the argument is likely to be a command.

BUGS

These methods are copied from ExtUtils::MM_Unix. Other operating systems are not supported yet. The reason is this a hack for Linux distributions <https://bugzilla.redhat.com/show_bug.cgi?id=1129443>.

SEE ALSO

ExtUtils::MakeMaker, ExtUtils::MM

pdf