G'day perldb2,

-- Downvoted! You asked about this topic, and got a solution, a few weeks ago in "OSX Server Perl install modules".

You did not get the output you claim from:

perl -MCPAN -e 'CGI::Application'

Here's what I get (i.e. no output):

$ perl -MCPAN -e 'CGI::Application' $

Similar commands also producing no output:

$ perl -MCPAN -e 1 $ $ perl -e 'CGI::Application' $ $ perl -e 1 $

The remainder of my post is what I wasted my time on before realising you'd already been given this information.

I'll assume "MAC MINI" uses Mac OS X: please correct me if I'm wrong. I don't which version you have and this is important: please advise.

Apple has installed its own version of Perl for its own use. This is generally referred to as the "System Perl". Do not modify (add, change or delete) the System Perl: it can affect how the OS currently runs; your modifications will probably be overwritten by the next update. I'd recommend perlbrew: I've been using this for over five years on various Mac OS X versions.

See also: CPAN on El Capitan and OSX Server Perl install modules.

— Ken


In reply to Re: Install CGI::Application by kcott
in thread Install CGI::Application by perldb2

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.