Most likely, you've moved perl since installing it - which is a big no-no. Check c:\ent\appl\prod\perl\5.00502\lib to find a file named 'Config.pm'. It'll have the old paths - you should be able to update the 2-3 occurances of the wrong path with the correct path.

As to your second question, yes there is a way, but I would suggest that this is somewhat reserved for advanced users since it's too easy to do it wrong. I'm sure someone will tell you how, but I'll tell you now that it's not completely obvious to a casual perl programmer. Simply copying the module files with the script only works for pure-perl modules, which Term::ReadKey is not.

A better solution, IMO, especially for modules that use Build.PL rather than Makefile.PL, is to build the modules on a machine with a compiler, and then zip the pre-built directory up, and then install it on the target machine. For Makefile.PL-based modules, you still need nmake, though, on the destination machine, and I'm not sure if that is part of a Windows environment or not without a compiler installed.


In reply to Re: CPAN Modules question by Tanktalus
in thread CPAN Modules question by iKnowNothing

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.