|Perl Monk, Perl Meditation|
How to deal with distro Perl modules _and_ CPAN ?by Krambambuli (Curate)
|on Apr 24, 2009 at 10:16 UTC||Need Help??|
Krambambuli has asked for the
wisdom of the Perl Monks concerning the following question:
I wonder what the best [well, recommended, proven to be good ] practices are to deal with distro Perl modules _and_ CPAN modules.
My current approach - I'm currently on Fedora 10, but the question is actually the same for all Linux distros - is to use the distro's install/update mechanism, then install/update CPAN and update/upgrade everything that's newer on CPAN.
With some rare exceptions, this seems to work pretty well - the only annoyance is that whenever the distro stock Perl is updated, I have to repeat the CPAN-syncing procedure, as some (lots...) of the previously updated modules seem to get lost during the Perl upgrade.
I can live with that, however I wonder how other Monks are dealing with this problem. Never installing the distro stock Perl and associated modules seems a bit too harsh to me.
Many thanks in advance,