{
    "mode": "perldoc",
    "parameter": "ExtUtils::Command::MM",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/ExtUtils%3A%3ACommand%3A%3AMM/json",
    "generated": "2026-06-03T03:37:04Z",
    "synopsis": "perl \"-MExtUtils::Command::MM\" -e \"function\" \"--\" arguments...",
    "sections": {
        "NAME": {
            "content": "ExtUtils::Command::MM - Commands for the MM's to use in Makefiles\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "perl \"-MExtUtils::Command::MM\" -e \"function\" \"--\" arguments...\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "FOR INTERNAL USE ONLY! The interface is not stable.\n\nExtUtils::Command::MM encapsulates code which would otherwise have to be done with large \"one\"\nliners.\n\nAny $(FOO) used in the examples are make variables, not Perl.\n\ntestharness\ntestharness($verbose, @testlibs);\n\nRuns the tests on @ARGV via Test::Harness passing through the $verbose flag. Any @testlibs\nwill be unshifted onto the test's @INC.\n\n@testlibs are run in alphabetical order.\n\npod2man\npod2man( '--option=value',\n$podfile1 => $manpage1,\n$podfile2 => $manpage2,\n...\n);\n\n# or args on @ARGV\n\npod2man() is a function performing most of the duties of the pod2man program. Its arguments\nare exactly the same as pod2man as of 5.8.0 with the addition of:\n\n--permrw   octal permission to set the resulting manpage to\n\nAnd the removal of:\n\n--verbose/-v\n--help/-h\n\nIf no arguments are given to pod2man it will read from @ARGV.\n\nIf Pod::Man is unavailable, this function will warn and return undef.\n\nwarnifoldpacklist\nperl \"-MExtUtils::Command::MM\" -e warnifoldpacklist <somefile>\n\nDisplays a warning that an old packlist file was found. Reads the filename from @ARGV.\n\nperllocalinstall\nperl \"-MExtUtils::Command::MM\" -e perllocalinstall\n<type> <module name> <key> <value> ...\n\n# VMS only, key|value pairs come on STDIN\nperl \"-MExtUtils::Command::MM\" -e perllocalinstall\n<type> <module name> < <key>|<value> ...\n\nPrints a fragment of POD suitable for appending to perllocal.pod. Arguments are read from\n@ARGV.\n\n'type' is the type of what you're installing. Usually 'Module'.\n\n'module name' is simply the name of your module. (Foo::Bar)\n\nKey/value pairs are extra information about the module. Fields include:\n\ninstalled into      which directory your module was out into\nLINKTYPE            dynamic or static linking\nVERSION             module version number\nEXEFILES           any executables installed in a space separated\nlist\n\nuninstall\nperl \"-MExtUtils::Command::MM\" -e uninstall <packlist>\n\nA wrapper around ExtUtils::Install::uninstall(). Warns that uninstallation is deprecated and\ndoesn't actually perform the uninstallation.\n\ntests\nperl \"-MExtUtils::Command::MM\" -e tests <file>\n\nTests if a file exists and is not empty (size > 0). *Exits* with 0 if it does, 1 if it does\nnot.\n\ncpnonempty\nperl \"-MExtUtils::Command::MM\" -e cpnonempty <srcfile> <dstfile> <perm>\n\nTests if the source file exists and is not empty (size > 0). If it is not empty it copies it\nto the given destination with the given permissions.\n",
            "subsections": []
        }
    },
    "summary": "ExtUtils::Command::MM - Commands for the MM's to use in Makefiles",
    "flags": [],
    "examples": [],
    "see_also": []
}