This manual page is for Mac OS X version 10.6

If you are running a different version of Mac OS X, view the documentation locally:

  • In Terminal, using the man(1) command

Reading manual pages

Manual pages are intended as a quick reference for people who already understand a technology.

  • For more information about the manual page format, see the manual page for manpages(5).

  • For more information about this technology, look for other documentation in the Apple Reference Library.

  • For general information about writing shell scripts, read Shell Scripting Primer.



ExtUtils::Command::MM(3pm)            Perl Programmers Reference Guide            ExtUtils::Command::MM(3pm)



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

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

DESCRIPTION
       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
             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 @INC.

           @test_libs are run in alphabetical order.

       pod2man
             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:

               --verbose/-v
               --help/-h

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

       warn_if_old_packlist
             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.

       perllocal_install
               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> < <key>|<value> ...

           Prints a fragment of POD suitable for appending to perllocal.pod.  Arguments are read from @ARGV.

           'type' is the type of what you're installing.  Usually 'Module'.

           'module name' is simply the name of your module.  (Foo::Bar)

           Key/value pairs are extra information about the module.  Fields include:

               installed into      which directory your module was out into
               LINKTYPE            dynamic or static linking
               VERSION             module version number
               EXE_FILES           any executables installed in a space seperated
                                   list

       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 uninstallation.



perl v5.10.0                                     2007-12-18                       ExtUtils::Command::MM(3pm)

Reporting Problems

The way to report a problem with this manual page depends on the type of problem:

Content errors
Report errors in the content of this documentation to the Perl project. (See perlbug(1) for submission instructions.)
Bug reports
Report bugs in the functionality of the described tool or API to Apple through Bug Reporter and to the Perl project using perlbug(1).
Formatting problems
Report formatting mistakes in the online version of these pages with the feedback links below.