It's an interesting question. As far as discussion rather than suggestions goes, on the one hand, CPAN modules are an important part of what makes Perl as flexible and powerful as it is. On the other hand, the range of modules installed does varies according to the distribution. As I've commented before, I've seen distributions of perl that omitted strict! There's a judgement call to be made for using modules in any perl code implementation, based on a number of criteria, some of which are:

For my part, having suffered in the past with c compiler dependencies, I sometimes accept a speed hit in favour of using pure perl modules or writing the functionality myself, or if a module contains functionality I can easily replicate I may not bother using the module at all. That said, there are some things (Net::LDAP & Data::Dump::Streamer for example) that require c compilers and I simply cannot do without or work around.

I do think that by avoiding using non core modules you are probably making life more difficult than it needs to be - a fairly up to date version of perl will include CPAN.pm, which provided the machine is net connected makes dependency resolution a) easier, and b) automatable, and as 5mi11er said, you can always state what's needed for your code to work.

(and if anyone is thinking I've changed my tune, I have. I'd like to think I've learned something).

--------------------------------------------------------------

$perlquestion=~s/Can I/How do I/g;


In reply to Re: non-standard package management by g0n
in thread non-standard package management by bigtiny

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.