Updating perl modules inside the base perl package

Nigel Metheringham Nigel.Metheringham at dev.intechnology.co.uk
Fri Sep 8 17:46:00 UTC 2006


Ian Burrell wrote:
> Do the modules have a separate life in CPAN?  There are a few like CGI
> and CPAN that are included in the perl but also distributed
> separately.  The perl RPM has obsoletes tp get rid of the old separate
> packages.  One solution is to modify the perl spec to remove the
> obsolete (or make them versioned).  There was a recent bug about doing
> this for Fedora. Then you would build and install separate packages
> for the newer version.

An example of modules that I have problems with in RHEL/Centos (not
Fedora as that has a much more recent version of perl) are:-

    * Test::Simple
    * Scalar::Util

The last is particularly relevant as the one that ships with RHEL4 perl
does not handle weaken, so some stuff just cannot work without it.

Updating all of perl and keeping your own perl rpm maintained is a
complete pain.  And if you do drastically upgrade perl (ie use the
Fedora 5 rpm rebuilt for RHEL) then you will probably have to rebuild a
pile of the other rpms to match too.

Being able to deal with individual packages would be far far better.  Or
being able to override stock modules with later versions without needing
deep INC mangling magic would be good too.

    Nigel.




More information about the Fedora-perl-devel-list mailing list