On Fri, Sep 08, 2006 at 09:15:47PM +1000, Adam Kennedy wrote: > One of the linux distro guys pinged me about Test::Object needing the > very latest (CPAN-only) version of Test::Builder, because it means they > can't package it properly for the distros without upgrading the main > Perl package. Some packaging systems can't handle having the same file > in more than one distro it seems.
Said maintainers can work round the deficiencies of their packaging systems by breaking out all the dual life modules from the core Perl package, and making them into other packages on which the core Perl package depends. In my opinion. Clearly this might be a bit tricky if the packager of Test::Object isn't the same person as the packager of core Perl, because then the former has to persuade the latter of the need for such a change. Alternatively said maintainers can work round the deficiencies of their packaging system by having another directory tree in @INC ahead of the core library paths, into which they install newer versions of dual life modules. This way no files need to be overwritten on disk, or dual-owned, yet Perl will still pick up the correct (newer) version. Nicholas Clark