Managing multiple different sourced programs quickly becomes chaotically complex. It's much better to maintain a single update source for major system components.

Or: Keeping track of when you need to update you own installed version of perl, as well as the system version of perl, is just more work than most people want to deal with.

Also: In case you are the sysadmin, it's fairly easy to accidentally replace the system perl with your new version. Which could have immediate or delayed problems. Immediate if something else in the system is broken by the new version of perl, delayed when your next system update removes the new version and puts the old version back (and then breaks some of your scripts...).

The last one, notably, doesn't apply to CPAN modules generally (there are a very few cases where it does...): If you install something that's not in the system, it won't affect anything in the system, as they will never use it.

And, depending on the situation, the developer may not have control over - or even access to - the deployment environment. Think of the case where they are developing something for a department, which will then be placed on multiple department servers.

Generally, I think of it as best to require as few auxillary software changes as possible when you are developing software. If there is something that really will make a difference in how long it will to get the program written (or if it gets written), use it, but if it would just be 'nice to have', try doing without.

Often that will make a difference in whether you can get approval to use the script you just wrote, or not.


In reply to Re^4: Some trouble with closures by DStaal
in thread Some trouble with closures by spx2

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.