On Mon, Dec 15, 2003 at 02:03:57PM -0700, Ian Harisay wrote:
> I have a set of common libraries. Some of which have become obsolete
> over time. In fact they haven't been used in so long now that I want to
> clean them out the next time these libraries are updated on the various
> systems they reside on. How can use ExtUils::MakeMaker to handle
> deleting perl modules and some executables.
If you want to completely uninstall a module there is an uninstall()
function in ExtUtils::Install. But you have to find and feed it the right
.packlist. The .packlist lives in the architecture directory for the
module. Something like
/path/to/your/perl/lib/linux-686/auto/Foo/Bar/.packlist
Yes, it should be easier.
If you just want to ensure the old versions of a module deleted when you
update to a newer version, install using "make install UNINST=1".
--
Michael G Schwern schwern@xxxxxxxxx http://www.pobox.com/~schwern/
They had applied the blinders of steam-grilled hamburgers to my eyes.
|