Used by MakeMaker for handling the platform-dependent installation and deinstallation of modules; not meant to provide general-purpose tools. Exports the following functions.
install |
install (\hashref, verbose, nonono)
Installs files. Takes the following arguments:
The hash has two additional keys: read and write. After copying everything, install writes the list of target files to the file named by $hashref->{write}. If there is another file named by $hashref->{read}, its contents are merged into the written file.
install_default |
install_default ([fullext])
Calls install with the same arguments as the MakeMaker defaults. Takes zero or one argument. With no argument, it treats $ARGV[0] as the argument. If present, the argument contains the value of MakeMaker's FULLEXT key.
pm_to_blib |
pm_to_blib (\hashref[, dir])
Takes a hash reference as the first argument and copies all the keys of the hash to the corresponding values. Filenames with the .pm extension are autosplit. The optional second argument is the autosplit directory.
uninstall |
uninstall (packlistfile, verbose, nonono)
Uninstalls files. Takes the following arguments:
Copyright © 2002 O'Reilly & Associates. All rights reserved.