another question to test the patience of monks
More OS X module woes...
I am trying to install the libwww-perl module. On first attempt at making I found that it needed a bunch of other modules - such as MIME-Base64, and HTML-Parser amongst many others.
So I went and got all those too - making quite happily. But the successive modules are still unable to find their prerequisite other modules. Here's a typical message:

.Can't locate URI/URL.pm in @INC (@INC contains: ../blib/lib ../blib/arch /System/Library/Perl/darwin /System/Library/Perl/darwin /System/Library/Perl /Library/Perl/darwin /Library/Perl /Library/Perl /Network/Library/Perl/darwin /Network/Library/Perl /Network/Library/Perl ../. /System/Library/Perl/darwin /System/Library/Perl /Library/Perl/darwin /Library/Perl /Library/Perl /Network/Library/Perl/darwin /Network/Library/Perl /Network/Library/Perl .) at (eval 1) line 3.

I am installing my modules in /System/Library/Perl, which is amongst those paths listed above - but the URI module, for example, is in a folder called "URI-1.12", rather than the "URI/URI.pm" folder which is required.

Should I simply rename the folder? Have I unzipped and done my making in the wrong place?
Have I got a huge distance to go before I get the hang of any of this?

Any monkly advice would be hugely appreciated!

Edit by tye


In reply to Required files in module installation by tricycle

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.