[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: additional thoughts about the new packages



Le Thu, Jun 24, 1999 at 05:31:00AM -0700, Darren/Torin/Who Ever... écrivait:
> 1) Data::Dumper will need to be repackaged as a perl-5.004 specific
>    package.  Currently perl-5.005 conflicts, replaces, and provides it.
>    This won't be good enough since the XS bits will the 5.004 stuff when 
>    running under 5.004.

This is only useful if a script does specifically use perl-5.004.
And this shouldn't happen at the present time.

If someone installs perl-5.005 on his machine, then all scripts
that use /usr/bin/perl will use perl-5.005 and the Data::Dumper
module will be found.

And as long as perl-5.005 is not installed, data-dumper will not be
removed so perl scripts using /usr/bin/perl as perl-5.004 will still
have data-dumper.

> 2) We need to add /usr/lib/perl5/i386-linux/5.004 to perl-5.004's path.
>    Otherwise, the various modules that are compiled and installed under
>    the non-versioned Perl won't work.

Yes for the transition it may be useful. I also noted that ARCHLIB is
present twice in @INC (one time at the beginning and one time at the
end), I wonder how this happened :

$ perl-5.004 -e '$"="\n"; print "@INC"'
/usr/lib/perl5/5.004/i386-linux
/usr/lib/perl5/5.004
/usr/local/lib/site_perl/i386-linux
/usr/local/lib/site_perl
/usr/lib/perl5
/usr/lib/perl5/5.004/i386-linux

Cheers,
-- 
Hertzog Raphaël >> 0C4CABF1 >> http://prope.insa-lyon.fr/~rhertzog/


Reply to: