Skip Menu |

This queue is for tickets about the local-lib CPAN distribution.

Report information
The Basics
Id: 55687
Status: rejected
Priority: 0/
Queue: local-lib

People
Owner: Nobody in particular
Requestors: NKH [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in:
  • 1.004009
  • 1.005001
Fixed in: (no value)



Subject: Installing a module fails if the module is up to date in the default @INC
nadim@naquadim Asterix$ perl -MCPAN -Mlocal::lib=--self-contained,lib_perl -e 'CPAN::install(Getopt::Long)' ... Going to read '/home/nadim/.cpan/Metadata' Database was generated on Wed, 17 Mar 2010 21:32:38 GMT CPAN: Module::CoreList loaded ok (v2.18) Getopt::Long is up to date (2.38). using '--self-contained' doesn't help. Forcing the installation installs the module locally.
NOTABUG: Getopt::Long is core, and --self-contained doesn't remove core @INC. If it did, funny things would start breaking like UTF-8 and opening filehandles on scalars (i.e., PerlIO stuff). buubot on irc.perl.org has demonstrated these issues in the past, but it looks like buu has fixed it by preloading those modules now.