develooper Front page | perl.perl5.porters | Postings from January 2004

Re: Uninstalling modules (potential new command)

Thread Previous | Thread Next
Andreas J Koenig
January 25, 2004 07:01
Re: Uninstalling modules (potential new command)
Message ID:
>>>>> On Tue, 2 Dec 2003 23:13:20 -0800, Michael G Schwern <> said:

 >> It also would be nice to explain why uninstall is deprecated.

  > *points at Andreas*  He did it. ;)

It would need some reference count mechanism. Last time I looked it
was not there.

It's not unusual to have two distributions on CPAN that install the
same file. If this happens, you must not delete that file until
the last distribution using that file gets uninstalled.

Come to think of it, it happens with every upgrade and confronts us
with this problem:

install Foo-1.23               # installs and Foo/
install Foo-1.24               # installs and Foo/
uninstall Foo-1.23             # must uninstall Foo/ but keep
uninstall Foo-1.24             # must uninstall and Foo/


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About