Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
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.

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:\Windows\system32; C:\Windows; C:\Windows\System32\Wbem; F:\Win7programs\SBPerl\perl\bin; F:\Win7programs\SBPerl\perl\site\bin; F:\Win7programs\SBPerl\c\bin; 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 +mon7\IDE\; C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\; C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common; F:\Win7programs\Python25; F:\Win7programs\TortoiseSVN\bin; F:\Win7programs\cygwin\bin; C:\Windows\System32\WindowsPowerShell\v1.0\; 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 \5.14.2 \build \authors \id \install-logs

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):
>F:\Win7programs\SBPerl\perl\bin\cpanp.bat
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:

  1. How does cpanp determine the location of \perl\bin and \perl\site\bin;
  2. How does cpanp determine whether a module is installed (or not)
Is there a configuration file for cpanp? If so, where is it located?

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.


In reply to Re^4: cpanplus not functioning right in a multiple-Perl installation setup? 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, 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, 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.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others taking refuge in the Monastery: (8)
    As of 2018-10-22 09:29 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      When I need money for a bigger acquisition, I usually ...














      Results (119 votes). Check out past polls.

      Notices?