in reply to Re^2: CPAN Bundles and Module Dependencies
in thread CPAN Bundles and Module Dependencies

Thanks brainsick,

I've now posted to perl5-porters for advice. I found a smaller demonstration case that does not need CPAN.pm to illustrate the border case. Please read the posting with the title "Composing @INC from PERL5LIB". Sorry, I have no link yet but I suppose the article will appear on google groups in less than an hour.

I'll keep you posted once a consensus has been reached over there.

For now the workaround for you would be to create the installation directory before starting the CPAN shell. Then perl will compute @INC as desired.

Thanks for your excellent bugreport!
  • Comment on Re^3: CPAN Bundles and Module Dependencies

Replies are listed 'Best First'.
Re^4: CPAN Bundles and Module Dependencies
by brainsick (Sexton) on Mar 08, 2007 at 20:49 UTC
    I opted to explicitly defining each of the computed @INC paths in my PERL5LIB for my temporary directories as a work around. I ended up with a couple duplicate definitions in @INC, but duplicates are better than missing in this case. Thanks to both you and xdg for helping me diagnose and understand this problem.

    I'm interested in the final resolution so please keep me in the loop.

      The decision was that the current behaviour is intended and that the documentation needed adjustment. After three patches (30643, 30645, and 30648) a satisfactory result was reached.

      You can view the individual patches in the repository browser:

      http://public.activestate.com/cgi-bin/perlbrowse

      Thanks again for your fine report!

Re^4: CPAN Bundles and Module Dependencies
by brainsick (Sexton) on Mar 09, 2007 at 12:58 UTC
    The thread can be found here for anyone following along.