1ExtUtils::Command::MM(3pPme)rl Programmers Reference GuiEdxetUtils::Command::MM(3pm)
2
3
4

NAME

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

SYNOPSIS

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

DESCRIPTION

12       FOR INTERNAL USE ONLY!  The interface is not stable.
13
14       ExtUtils::Command::MM encapsulates code which would otherwise have to
15       be done with large "one" liners.
16
17       Any $(FOO) used in the examples are make variables, not Perl.
18
19       test_harness
20             test_harness($verbose, @test_libs);
21
22           Runs the tests on @ARGV via Test::Harness passing through the $ver‐
23           bose flag.  Any @test_libs will be unshifted onto the test's @INC.
24
25           @test_libs are run in alphabetical order.
26
27       pod2man
28             pod2man( '--option=value',
29                      $podfile1 => $manpage1,
30                      $podfile2 => $manpage2,
31                      ...
32                    );
33
34             # or args on @ARGV
35
36           pod2man() is a function performing most of the duties of the
37           pod2man program.  Its arguments are exactly the same as pod2man as
38           of 5.8.0 with the addition of:
39
40               --perm_rw   octal permission to set the resulting manpage to
41
42           And the removal of:
43
44               --verbose/-v
45               --help/-h
46
47           If no arguments are given to pod2man it will read from @ARGV.
48
49       warn_if_old_packlist
50             perl "-MExtUtils::Command::MM" -e warn_if_old_packlist <somefile>
51
52           Displays a warning that an old packlist file was found.  Reads the
53           filename from @ARGV.
54
55       perllocal_install
56               perl "-MExtUtils::Command::MM" -e perllocal_install
57                   <type> <module name> <key> <value> ...
58
59               # VMS only, key⎪value pairs come on STDIN
60               perl "-MExtUtils::Command::MM" -e perllocal_install
61                   <type> <module name> < <key>⎪<value> ...
62
63           Prints a fragment of POD suitable for appending to perllocal.pod.
64           Arguments are read from @ARGV.
65
66           'type' is the type of what you're installing.  Usually 'Module'.
67
68           'module name' is simply the name of your module.  (Foo::Bar)
69
70           Key/value pairs are extra information about the module.  Fields
71           include:
72
73               installed into      which directory your module was out into
74               LINKTYPE            dynamic or static linking
75               VERSION             module version number
76               EXE_FILES           any executables installed in a space seperated
77                                   list
78
79       uninstall
80               perl "-MExtUtils::Command::MM" -e uninstall <packlist>
81
82           A wrapper around ExtUtils::Install::uninstall().  Warns that unin‐
83           stallation is deprecated and doesn't actually perform the uninstal‐
84           lation.
85
86
87
88perl v5.8.8                       2001-09-21        ExtUtils::Command::MM(3pm)
Impressum