One thought: on Linux boxen I'm quite often tempted to use the packaged versions of Perl modules that most distros have out there these days. This is in line with the oft suggested strategy of "leaving the OS Perl alone" which I don't always subscribe to.

There are two ways, however, that you can get burned by using the version or a Perl module that a distro will support:

  1. Debian in particular and CentOS annoyingly so are quite often behind in the rev of things that they support. A non-Perl example is Blender which on Ubuntu (a Debian derivative) loads and supports version 2.61 (I think), Linux Mint (2.67) which is "too old" to do the kinds of things I want to do with Blender. I've also seen Perl modules load in those that are out of date but I just don't remember which ones.
  2. Given that those modules can be back-reved if there are bug fixes, feature enhancements or whatever you can experience unexpected behaviors that were "fixed" a while back.

Payback? I use Puppet to manage software loads on my machines. Being able to ensure that Mime::Lite is loaded (or any other module) is a great thing. Trying to add a package provider for cpanm or 'perl -mCPAN' would require me learning Ruby which I don't really want to do.


Peter L. Berghold -- Unix Professional
Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg

In reply to Re: install CPAN modules by blue_cowdawg
in thread install CPAN modules by mvip

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.