1N/AExtUtils::Command::MM - Commands for the MM's to use in Makefiles 1N/A perl "-MExtUtils::Command::MM" -e "function" "--" arguments... 1N/AB<FOR INTERNAL USE ONLY!> The interface is not stable. 1N/AExtUtils::Command::MM encapsulates code which would otherwise have to 1N/Abe done with large "one" liners. 1N/AAny $(FOO) used in the examples are make variables, not Perl. 1N/A=item B<test_harness> 1N/A test_harness($verbose, @test_libs); 1N/ARuns the tests on @ARGV via Test::Harness passing through the $verbose 1N/Aflag. Any @test_libs will be unshifted onto the test's @INC. 1N/A@test_libs are run in alphabetical order. 1N/A pod2man( '--option=value', 1N/A $podfile1 => $manpage1, 1N/A $podfile2 => $manpage2, 1N/Apod2man() is a function performing most of the duties of the pod2man 1N/Aprogram. Its arguments are exactly the same as pod2man as of 5.8.0 1N/Awith the addition of: 1N/A --perm_rw octal permission to set the resulting manpage to 1N/AIf no arguments are given to pod2man it will read from @ARGV. 1N/A # We will cheat and just use Getopt::Long. We fool it by putting 1N/A # our arguments into @ARGV. Should be safe. 1N/A 'section|s=s',
'release|r=s',
'center|c=s',
1N/A 'date|d=s',
'fixed=s',
'fixedbold=s',
'fixeditalic=s',
1N/A 'fixedbolditalic=s',
'official|o',
'quotes|q=s',
'lax|l',
1N/A 'name|n=s',
'perm_rw:i' 1N/A # If there's no files, don't bother going further. 1N/A # Official sets --center, but don't override things explicitly set. 1N/A # This isn't a valid Pod::Man option and is only accepted for backwards 1N/A do {{
# so 'next' works 1N/A print "Manifying $man\n";
1N/A or do {
warn(
"Could not install $man\n");
next };
1N/A or do {
warn(
"chmod $options{perm_rw} $man: $!\n");
next };
1N/A=item B<warn_if_old_packlist> 1N/A perl "-MExtUtils::Command::MM" -e warn_if_old_packlist <somefile> 1N/ADisplays a warning that an old packlist file was found. Reads the 1N/A print <<
"PACKLIST_WARNING";
1N/A=item B<perllocal_install> 1N/A perl "-MExtUtils::Command::MM" -e perllocal_install 1N/A <type> <module name> <key> <value> ... 1N/A perl "-MExtUtils::Command::MM" -e perllocal_install 1N/A <type> <module name> < <key> <value> ... 1N/APrints a fragment of POD suitable for appending to perllocal.pod. 1N/AArguments are read from @ARGV. 1N/A'type' is the type of what you're installing. Usually 'Module'. 1N/A'module name' is simply the name of your module. (Foo::Bar) 1N/AKey/value pairs are extra information about the module. Fields include: 1N/A installed into which directory your module was out into 1N/A LINKTYPE dynamic or static linking 1N/A VERSION module version number 1N/A EXE_FILES any executables installed in a space seperated 1N/A # VMS feeds args as a piped file on STDIN since it usually can't 1N/A # fit all the args on a single command line. 1N/A perl "-MExtUtils::Command::MM" -e uninstall <packlist> 1N/AA wrapper around ExtUtils::Install::uninstall(). Warns that 1N/Auninstallation is deprecated and doesn't actually perform the