Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
Clear questions and runnable code
get the best and fastest answer

Re: Distributing Perl in a Linux distribution

by Joost (Canon)
on Oct 01, 2009 at 12:54 UTC ( #798640=note: print w/ replies, xml ) Need Help??

in reply to Distributing Perl in a Linux distribution

The reason the core modules are distributed with perl is that they're core modules: everybody who has perl installed should have those modules avialable, with at least that version, and all perl code can rely on those modules being there.

(Linux) distributions can split up the core perl into different packages. Some distros split out the docs, development headers, debug info etc. Some distros also split out (some) core modules. While in theory that's a fine idea, in practice it leads to confusion when people install "perl" and then their code won't run. IIRC RedHat used to split out from the perl core, leading to lots of confusion with people just wanting to run a few CGI scripts.

Anyway, what I personally do when I need an RPM of a CPAN package that overrides a core perl module, is to make sure the new RPM installs with INSTALLDIRS='vendor', or 'site', so it won't overwrite the core versions.

As a last note: there really aren't that many core modules that are also on CPAN and are generally worth upgrading independently of perl itself.

Comment on Re: Distributing Perl in a Linux distribution

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://798640]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2014-03-16 13:30 GMT
Find Nodes?
    Voting Booth?

    Have you used a cryptocurrency?

    Results (326 votes), past polls