Be careful not to install perl in your cgi-bin directory since this causes security problems.

It is a good idea for you to learn to compile perl and install modules. Perl modules are easy to install, but there is one thing to be careful about, which is that the module installation step:

perl Makefile.PL

runs the correct version of perl, so either be careful to have your version of perl first in your $PATH environment variable, or specify a full path to your version of perl:

/home/username/perl5/bin/perl

Almost all CPAN modules do a good job of installing themselves in the right place if you do this. Very rarely (I have only seen it once) you might find an obscure bug where something assumes that perl is in /usr/bin/perl.

It should work perfectly the first time! - toma


In reply to Re: module installation by toma
in thread module installation by prarie dawn

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.