It turns out that the "terminal is not fully functional" warning is a known problem with the "terminal" after installing Strawberry Perl. See comment #48 here: https://groups.google.com/forum/?fromgroups=#!topic/msysgit/chXoBxQ3c0Y
where he says: I had this issue after installing Strawberry Perl. See also comment #47 there.
in reply to Re^3: cpanplus not functioning right in a multiple-Perl installation setup?
in thread cpanplus not functioning right in a multiple-Perl installation setup?
I deleted the TERM environment variable, and then cpanplus is not complaining: "terminal is not fully functional" any more. So this does solve that problem.
Like I said, this leaves us with the main issue: how to make cpanplus refer to a new Perl installation only. Here is some additional information:
%PATH%: echo %PATH% gives:
C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;
C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;
C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;
C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Com
C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;
C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;
C:\Program Files (x86)\IDM Computer Solutions\UltraEdit\
(newlines added for legibility)
F:\Win7programs\SBPerl\ is where I've installed Strawberry Perl 5.16.3.
(My older 5.14.2 Perl installation is at: F:\Win7programs\Dwimperl\)
Interestingly, from the old installation, there exists a directory structure on C:\
C:\Documents and Settings\Helen\.cpanplus
but there is no similar sub-directory structure for the new installation: \5.16.3
Also, strangely, even if I call cpanp like so (as Corion suggested):
it still checks the old Perl installation for the existence of modules, and writes the install log to:
C:\Documents and Settings\Helen\.cpanplus\install-logs
Here is a typical (one-liner) install log:
[MSG] [Thu May 9 21:40:21 2013] Module 'Carp' already up to date, won't install without force
IMO, the key questions here are:
Is there a configuration file for cpanp? If so, where is it located?
- How does cpanp determine the location of \perl\bin and \perl\site\bin;
- How does cpanp determine whether a module is installed (or not)
Many TIA - Helen
N.B. Corion: you said: As the setup of more than one Perl version seems to be problematic for you ...etc
Installing the second Perl installation, I do not think I have done anything less accurate or orderly that a veteran Perl system manager would have done. But Corion, more generally, I was of the opinion that the PerlMonks spirit is: The only stupid question is the question not asked, and that PerlMonks encourage exploration of the Perl eco-system, and enhancement of Perl knowledge (especially in these times, when the mass hype is to go the Python way (or Ruby, or Lua)).
I think my posts here definitely have value, and specifically regarding this current cpanp issue, I think I have identified a bug in CPANPLUS, where it has difficulty identifying the default Perl installation in a multi-Perl installation setup.
If my questions here constitute a nuisance, I can find other forums to gain knowledge at.