develooper Front page | perl.module.build | Postings from December 2012

Uninstalling obsolete module files

Thread Next
From:
=?ISO-8859-1?Q?Alberto_Sim=F5es?=
Date:
December 15, 2012 17:21
Subject:
Uninstalling obsolete module files
Message ID:
50CCB16F.6040009@alfarrabio.di.uminho.pt
Hello

It would be cool if a module could obsolete other module.

For instance, I noticed that Net::DNS no longer installs 
Net::DNS::Domain. This means the Domain.pm file will be hanging in the 
system until a full reinstall of the perl module tree is done.

Just like one can specify a list of PM files in the distribution, it 
would be cool if we could specify a list of modules that get obsolete 
with this installation, something like:

     obsoletes_modules => [ 'Net::DNS::Domain' ],

One could maintain this information for a few releases, and the install 
action would remove the Domain.pm file if it finds it.

Thoughts on this?

Cheers,
ambs

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