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

Re: Uninstalling modules (potential new command)

Thread Previous | Thread Next
From:
Andreas J Koenig
Date:
January 25, 2004 07:01
Subject:
Re: Uninstalling modules (potential new command)
Message ID:
87smi43we7.fsf@franz.ak.mind.de
>>>>> On Tue, 2 Dec 2003 23:13:20 -0800, Michael G Schwern <schwern@pobox.com> 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 xxx.pm 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 Foo.pm and Foo/Junk.pm
install Foo-1.24               # installs Foo.pm and Foo/Bunk.pm
uninstall Foo-1.23             # must uninstall Foo/Junk.pm but keep Foo.pm
uninstall Foo-1.24             # must uninstall Foo.pm and Foo/Bunk.pm



-- 
andreas

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About