Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
CPANPLUS should work with core Perl, although it is a lot happier if you will let it install some modules during setup, especially on machines where it might be difficult to use binaries. Certain options, such as md5 checks, require that module be installed. However, if you don't want these modules installed you can decline them during configuration (if you do want them, CPANPLUS will handle the installation before it installs itself).

As for the normal prereq handling, CPANPLUS allows you to select whether you should always follow prereqs, never follow prereqs, or prompt for each.

CPANPLUS will decline to install new versions of Perl. It will let you download them, if you like, but because Perl should be installed quite interactively, CPANPLUS insists you do it yourself.

One advantage you may find to CPANPLUS--which I mention since you talk about production servers--is the programmer's interface which makes it easier to maintain modules on multiple machines. You can set up an install script to install the same modules on multiple machines (and handle known issues with modules and the like). does allow this, but by poking through the shell. By comparision CPANPLUS is a lot cleaner, since it was designed with the programmer's interface in mind (shells are just layers on top of the interface). Check out Backend for more information on the programmer's interface. It's worth noting, however, that this is version .036, and the interface changes significantly (which it may continue to do until release 1.0) in the upcoming .04 (in particular, return values become objects).

In reply to (kudra: CPANPLUS and dependancies) Re4: To install a module... by kudra
in thread To install a module... by tye 

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, 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, 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.
  • Log In?

    What's my password?
    Create A New User
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others exploiting the Monastery: (2)
    As of 2020-06-02 07:52 GMT
    Find Nodes?
      Voting Booth?
      Do you really want to know if there is extraterrestrial life?

      Results (13 votes). Check out past polls.