Skip Menu |

This queue is for tickets about the CPANPLUS CPAN distribution.

Report information
The Basics
Id: 8668
Status: resolved
Priority: 0/
Queue: CPANPLUS

People
Owner: Nobody in particular
Requestors: dhoworth [...] mrc-lmb.cam.ac.uk
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 0.0499
Fixed in: (no value)



Subject: e DIR ... # add directories to your @INC is misleading
This is a documentation bug, I think. In the default shell's help, under Local Administration when I read: "e DIR ... # add directories to your @INC" I take that to mean that it will change my Perl environment permanently (that is after all what cpanp does!). It doesn't do that :-( Looking at the code, I believe it is just changing @INC whilst cpanp is running, and I can't see a reason to want to do that. In any event, I think the docs should be clearer about what it's doing. "e DIR ... # temporarily add directories to your @INC" is as good as I can suggest, but I don't understand the use case. Cheers, Dave
Hi, the 'e' option is removed in 0.050, as it's not really useful for runtime.. you can still set it during configuration, and the text has been adapted to this: print loc(' If you like, CPANPLUS can add extra directories to your @INC list starts during startup. These will just be used by CPANPLUS and will not change your external environment or perl interpreter. Enter a space separated list of list to be added to your @INC, quoting anything with embedded whitespace. (To clear the current value enter a single space.) '); This will be the text in the 0.050 release, unless you can provide an alternative. Cheers,