On 2013-04-17 09:38:32 +0300, Niko Tyni wrote: > On Wed, Apr 17, 2013 at 01:55:48AM +0200, Vincent Lefevre wrote: > > > Note the difference in PERL5LIB: you're missing the suggested > > > lib/perl5/<archname> . > > > > That shouldn't be necessary. The perlrun(1) man page says: > > > > PERL5LIB A list of directories in which to look for Perl library > > files before looking in the standard library and the > > current directory. Any architecture-specific directories > > under the specified locations are automatically included > > if they exist, with this lookup done at interpreter > > startup time. > > > > lib/perl5/<archname> doesn't exist yet initially, but I'd say > > that's up to cpan to add it automatically when necessary. > > I wouldn't FWIW, but that's for upstream to decide. I certainly won't > add a Debian deviation to do that.
OK. Alternatively, it could be decided to add architecture-specific directories whether they exist or not at interpreter startup time. > > Well, at least since CPAN 1.9800, the problem no longer occurs without > > having to do anything you suggested. > > As I said, only because installing a newer CPAN creates the arch-specific > subdirectory as a side effect (putting perllocal.pod and .packlist there). OK, I forgot this side effect. > > I wonder what has changed (e.g. > > whether this is intentional or the problem could reappear later). > > I note that newest versions of local::lib no longer suggest putting the > arch-specific directory in PERL5LIB, precisely because Perl includes > it automatically. I suspect this bootstrapping issue with nonexistent > directories is not widely understood. Do you mean that architecture-specific directories are added even if they don't exist at interpreter startup time? -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <http://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon) -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org