manpagez: man pages & more
man ExtUtils::Command::MM(3)
Home | html | info | man


       ExtUtils::Command::MM - Commands for the MM's to use in Makefiles


         perl "-MExtUtils::Command::MM" -e "function" "--" arguments...


       FOR INTERNAL USE ONLY!  The interface is not stable.

       ExtUtils::Command::MM encapsulates code which would otherwise have to
       be done with large "one" liners.

       Any $(FOO) used in the examples are make variables, not Perl.

             test_harness($verbose, @test_libs);

           Runs the tests on @ARGV via Test::Harness passing through the
           $verbose flag.  Any @test_libs will be unshifted onto the test's

           @test_libs are run in alphabetical order.

             pod2man( '--option=value',
                      $podfile1 => $manpage1,
                      $podfile2 => $manpage2,

             # or args on @ARGV

           pod2man() is a function performing most of the duties of the
           pod2man program.  Its arguments are exactly the same as pod2man as
           of 5.8.0 with the addition of:

               --perm_rw   octal permission to set the resulting manpage to

           And the removal of:


           If no arguments are given to pod2man it will read from @ARGV.

           If Pod::Man is unavailable, this function will warn and return

             perl "-MExtUtils::Command::MM" -e warn_if_old_packlist <somefile>

           Displays a warning that an old packlist file was found.  Reads the
           filename from @ARGV.

               perl "-MExtUtils::Command::MM" -e perllocal_install
                   <type> <module name> <key> <value> ...

               # VMS only, key|value pairs come on STDIN
               perl "-MExtUtils::Command::MM" -e perllocal_install
                   <type> <module name> < uninstall
               perl "-MExtUtils::Command::MM" -e uninstall <packlist>

           A wrapper around ExtUtils::Install::uninstall().  Warns that
           uninstallation is deprecated and doesn't actually perform the

              perl "-MExtUtils::Command::MM" -e test_s <file>

           Tests if a file exists and is not empty (size > 0).  Exits with 0
           if it does, 1 if it does not.

             perl "-MExtUtils::Command::MM" -e cp_nonempty <srcfile> <dstfile> <perm>

           Tests if the source file exists and is not empty (size > 0). If it
           is not empty it copies it to the given destination with the given

perl v5.24.0                      2016-03-01        ExtUtils::Command::MM(3pm)

perl 5.24 - Generated Tue Nov 8 15:11:25 CST 2016
© 2000-2019
Individual documents may contain additional copyright information.