I think the system's perl belongs to the system and you should not be doing stuff like installing non packaged perl modules and running your production application with it.

I disagree. If an OS depends on a certain version/build of perl (or python, or whatever), then they shouldn't put it in /usr/bin/perl.

Solaris got this one right (assuming they haven't changed their policy, it's been a while since I last used Solaris). They too have quite a number of scripts that may break if you replace the default perl. So they put perl somewhere else (say /some/path/to/perl) and start their programs that use perl with #!/some/path/to/perl. /usr/bin/perl is then a link to /some/path/to/perl. Now, if you want to put your own perl in /usr/bin/perl, you can do it. The systems scripts will not refer to it, and they'll keep using the default perl that came with the system.


In reply to Re: blaming perl for not using a build policy by JavaFan
in thread blaming perl for not using a build policy by trwww

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.