Hi o2bwise,

The first thing you want to do is read through $ perldoc perlmodinstall (http://perldoc.perl.org/perlmodinstall.html).

Next, you'll want to learn about using the CPAN console, which takes care of a lot of the confusing parts of installing modules.

For the particular module you are installing, the command would be: $ perl -MCPAN -e 'install libwww-perl'.

Also, its good that you've been given a newer perl as the default one you have is very old, but you are adding a layer of complexity here.

I suggest putting the new perl in your environment's path so you and all programs that you run that use perl use the new one. You said you found version 5.8.5 but you didnt say exactly where it was, but given it is installed in /opt/perl58/bin, you'd add that path to your environment path.

I also recommend NOT removing the old perl as pieces of your system probably depend on it.

Hope this helps getting you started, and if you have more specific questions dont hesitate :-)


In reply to Re: Basic @INC Question Related to Succesful Mod Installs by trwww
in thread Basic @INC Question Related to Succesful Mod Installs by o2bwise

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.