I also am afraid of 'automatic installation' tools. Like jbruger I prefer to exercise (a modicum) of control over what gets installed on my machines. It's not that I don't trust my User community, I can't. I am the 'responsible party' when the SEC auditors come through, and I don't want to have to explain what package Xyz::IOwn::TheWorld is doing on a (supposedly) secure server that happens to be handling credit-card data. I am willing to install what the user wants/needs (within reason), when asked, but I do need to have a piece of paper for the files.

And the other side of that coin is the tyographical error problem: The number of times I type "use warnigns;" is legion. With 'auto-install of package on use failure', then every time I typoed, Perl would have to take time out to search CPAN, determine that the module didn't exist, and report back; I'd get a lot grayer waiting. I'd be sorely tempted to build my own pragmas (with the appropriate mis-spelled name) to get around it. That would get to be both a maintenance headache and a distribution nightmare. I much prefer the current polite error message followed by a quick exit, stage left.

----
I Go Back to Sleep, Now.

OGB


In reply to Re: Auto install of a perl package if 'use' statement fails by Old_Gray_Bear
in thread Auto install of a perl package if 'use' statement fails by Zubinix

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.