2 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns=
"http://www.w3.org/1999/xhtml">
5 <title>ExtUtils::Command::MM - Commands for the MM's to use in Makefiles
</title>
6 <meta http-equiv=
"content-type" content=
"text/html; charset=utf-8" />
7 <link rev=
"made" href=
"mailto:" />
10 <body style=
"background-color: white">
11 <table border=
"0" width=
"100%" cellspacing=
"0" cellpadding=
"3">
12 <tr><td class=
"block" style=
"background-color: #cccccc" valign=
"middle">
13 <big><strong><span class=
"block"> ExtUtils::Command::MM - Commands for the MM's to use in Makefiles
</span></strong></big>
17 <p><a name=
"__index__"></a></p>
22 <li><a href=
"#name">NAME
</a></li>
23 <li><a href=
"#synopsis">SYNOPSIS
</a></li>
24 <li><a href=
"#description">DESCRIPTION
</a></li>
31 <h1><a name=
"name">NAME
</a></h1>
32 <p>ExtUtils::Command::MM - Commands for the MM's to use in Makefiles
</p>
36 <h1><a name=
"synopsis">SYNOPSIS
</a></h1>
38 perl
"-MExtUtils::Command::MM
" -e
"function
" "--
" arguments...
</pre>
42 <h1><a name=
"description">DESCRIPTION
</a></h1>
43 <p><strong>FOR INTERNAL USE ONLY!
</strong> The interface is not stable.
</p>
44 <p>ExtUtils::Command::MM encapsulates code which would otherwise have to
45 be done with large ``one'' liners.
</p>
46 <p>Any $(FOO) used in the examples are make variables, not Perl.
</p>
48 <dt><strong><a name=
"item_test_harness"><strong>test_harness
</strong></a></strong>
52 test_harness($verbose, @test_libs);
</pre>
55 <p>Runs the tests on @ARGV via Test::Harness passing through the $verbose
56 flag. Any @test_libs will be unshifted onto the test's @INC.
</p>
59 <p>@test_libs are run in alphabetical order.
</p>
61 <dt><strong><a name=
"item_pod2man"><strong>pod2man
</strong></a></strong>
65 pod2man( '--option=value',
66 $podfile1 =
> $manpage1,
67 $podfile2 =
> $manpage2,
73 # or args on @ARGV
</pre>
76 <p><a href=
"#item_pod2man"><code>pod2man()
</code></a> is a function performing most of the duties of the pod2man
77 program. Its arguments are exactly the same as pod2man as of
5.8.0
78 with the addition of:
</p>
82 --perm_rw octal permission to set the resulting manpage to
</pre>
85 <p>And the removal of:
</p>
93 <p>If no arguments are given to pod2man it will read from @ARGV.
</p>
95 <dt><strong><a name=
"item_warn_if_old_packlist"><strong>warn_if_old_packlist
</strong></a></strong>
99 perl
"-MExtUtils::Command::MM
" -e warn_if_old_packlist
<somefile
></pre>
102 <p>Displays a warning that an old packlist file was found. Reads the
103 filename from @ARGV.
</p>
105 <dt><strong><a name=
"item_perllocal_install"><strong>perllocal_install
</strong></a></strong>
109 perl
"-MExtUtils::Command::MM
" -e perllocal_install
110 <type
> <module name
> <key
> <value
> ...
</pre>
114 # VMS only, key|value pairs come on STDIN
115 perl
"-MExtUtils::Command::MM
" -e perllocal_install
116 <type
> <module name
> < <key
>|
<value
> ...
</pre>
119 <p>Prints a fragment of POD suitable for appending to perllocal.pod.
120 Arguments are read from @ARGV.
</p>
123 <p>'type' is the type of what you're installing. Usually 'Module'.
</p>
126 <p>'module name' is simply the name of your module. (Foo::Bar)
</p>
129 <p>Key/value pairs are extra information about the module. Fields include:
</p>
133 installed into which directory your module was out into
134 LINKTYPE dynamic or static linking
135 VERSION module version number
136 EXE_FILES any executables installed in a space seperated
139 <dt><strong><a name=
"item_uninstall"><strong>uninstall
</strong></a></strong>
143 perl
"-MExtUtils::Command::MM
" -e uninstall
<packlist
></pre>
146 <p>A wrapper around ExtUtils::Install::uninstall(). Warns that
147 uninstallation is deprecated and doesn't actually perform the
151 <table border=
"0" width=
"100%" cellspacing=
"0" cellpadding=
"3">
152 <tr><td class=
"block" style=
"background-color: #cccccc" valign=
"middle">
153 <big><strong><span class=
"block"> ExtUtils::Command::MM - Commands for the MM's to use in Makefiles
</span></strong></big>