1ExtUtils::MM::Utils(3)User Contributed Perl DocumentationExtUtils::MM::Utils(3)
2
3
4

NAME

6       ExtUtils::MM::Utils - ExtUtils::MM methods without dependency on
7       ExtUtils::MakeMaker
8

SYNOPSIS

10           require ExtUtils::MM::Utils;
11           MM->maybe_command($file);
12

DESCRIPTION

14       This is a collection of ExtUtils::MM subroutines that are used by many
15       other modules but that do not need full-featured ExtUtils::MakeMaker.
16       The issue with ExtUtils::MakeMaker is it pulls in Perl header files and
17       that is an overkill for small subroutines.
18
19       An example is the IPC::Cmd that caused installing GCC just because of
20       three-line maybe_command() from ExtUtils::MM_Unix.
21
22       The intentions is to use ExtUtils::MM::Utils instead of
23       ExtUtils::MakeMaker for these trivial methods. You can still call them
24       via MM class name.
25

METHODS

27       maybe_command
28           Returns true, if the argument is likely to be a command.
29

BUGS

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

SEE ALSO

36       ExtUtils::MakeMaker, ExtUtils::MM
37
38
39
40perl v5.32.1                      2021-04-14            ExtUtils::MM::Utils(3)
Impressum