Uninstalling obsolete module files

[email protected] (Alberto Simões) Sat, 15 Dec 2012 17:20:47 +0000
Newsgroups perl.module.build
Organization Departamento de Informática - Universi dade do Minho
Message-ID <[email protected]>
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