OK, I solved it. What needed to be done was, to clear the CPANPLUS cache (whatever that is), by entering "x" at the cpanp prompt. Apparently cpanp keeps a cache somewhere (and I don't think it's under the
C:\Documents and Settings\UserName\.cpanplus\
tree), and that cache contains configuration parameters, including the current (=default) Perl installation top directory.

Also, after extensive googling, quite far away in a search result list, I have found this:

How can I use CPANPLUS with multiple versions of Perl?
You only need one installation of CPANPLUS for all versions of Perl. As of version 0.04, CPANPLUS keeps different directories under its home directory for each version of Perl:
.cpanplus/ authors/ id/ # tarballs live here 5.6.0/ build/ 5.7.3/ build/

This prevents conflicts.

(URL: http://cpanplus.sourceforge.net/faq.html#b)

So, conclusions:

  1. Installing several Perl versions is ok and supported
  2. CAPNPLUS supports working in a multi-perl installation environment, but you must clear the "CPANPLUS cache" when shifting from one installation to the other (or use some other alternatives listed in that URL)
  3. CPANPLUS documentation is meager and practically non-existent. I found the URL quoted above by accident, and its parent URL is broken.

That has been an excruciating experience. I have spent days wrestling with this.

Many thanks to all PerlMonks trying to help, offering advice - Helen


In reply to Re^6: The CPANPLUS cache had to be cleared by HelenCr
in thread cpanplus not functioning right in a multiple-Perl installation setup? by HelenCr

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.