ExtUtils::MM::Utils − ExtUtils::MM methods without dependency on ExtUtils::MakeMaker
require ExtUtils::MM::Utils; MM−>maybe_command($file);
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.
Returns true, if the argument is likely to be a command.
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>.