NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Debian (Score:1)
In Debian's case it's (largely) true that one file path belongs to one package, but that isn't actually a problem for dual-life Perl modules. Core modules (such as
CGI, which come in theperl-baseandperl-modulespackages) and Cpan modules (such asYAML, which each come in their own packages, such aslibyaml-perl) are installed to different directories:And doing
perl -Vshows that@INCis set appropriately so that the Cpan module directory is searched first.Fixing that wouldn't require any infrastructure changes to the system; if somebody created /usr/share/perl5/Scalar/Util.pm, meaning that
libscalar-util-perlpackage, that could install the latest version ofScalar::UtiltoPPIwould find it but the original file is intact.Though since you ask:
Actually even that would be possible: see dpkg-divert(8) for how a package can provide a replacement file for one already installed a different package.
Reply to This
Re: (Score:1)