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

Re: additional thoughts about the new packages



-----BEGIN PGP SIGNED MESSAGE-----

Raphael Hertzog, in an immanent manifestation of deity, wrote:
>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.

This isn't good enough though.  Data::Dumper is special.  It's the only
one that will actually go away on install of Perl 5.005.

The explanation I've put in the README of the ftp/http site is:
   e) After Perl-5.005 is installed, Data::Dumper is replaced.
      Unfortunately, if you still want to use a module built using the
      non-versioned Perl and it uses Data::Dumper, you'll fail.

>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

It's not on mine:
{2}[0]~ kitchen:-) perl-5.004 -le 'print join("\n", @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

- From looking at the code, the only way that I could see that happening
would be if the incpush line we've add for Debian has addsubdirs =
TRUE.  You said you were compiling it yourself, could you check that?

Thanks,
  Darren
- -- 
<torin@daft.com> <http://www.daft.com/~torin> <torin@debian.org> <torin@io.com>
Darren Stalder/2608 Second Ave, @282/Seattle, WA 98121-1212/USA/+1-800-921-4996
@ Sysadmin, webweaver, postmaster for hire. C/Perl/CGI/Pilot programmer/tutor @
@		     Make a little hot-tub in your soul.		      @

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3a
Charset: noconv
Comment: Processed by Mailcrypt 3.5.1, an Emacs/PGP interface

iQCVAwUBN3JQlY4wrq++1Ls5AQFuNQP/Q682ZsqPQuYAdihxVgLEkj/0ObuvDbUq
p6CbsWxVDgs4nggO3ZeMaB/4L/eUoYy2M/MsOmfb++CH6N+wRX+fEvmGlnmSaXNf
dzqQX7Byf0gzRFNHDxYAUUPg6+yWkD12mcwh4IWiKp/AquSetuV2AMpeKQrgMwtS
bRkPMEm+ls4=
=PCPd
-----END PGP SIGNATURE-----


Reply to: