Well, this is just my opinion, but I feel if you remove CGI from core you might as well declare Perl dead (for the web at least). The entry bar to Perl beginners needs to be lower not higher.

As long as CGI is in core, it's a simple step to use it and get on with the business of showing future developers how to do cool stuff on the web. Those helpful tutorials on the web make it easy to 'get Perl' followed by 'use CGI' and end in 'hello world' before anyone loses interest. Without CGI in core, it's 'get Perl' followed by discussion about which CGI modules to use, followed by more discussion about how to get modules from CPAN, ending with the beginner googling the next web tutorial looking for one that 'just works' without all the fuss (and another PHP coder is born). CGI in core is a carrot to get past the Perl learning curve after which, better CGI replacements can be evaluated with more experience.

But it shouldn't be left to rot in core either. Nothing in core should ever be allowed to become stale and outdated. Better that it be updated in CPAN than neglected in core.


In reply to Re: Remove CGI.pm from Perl Core? by ruzam
in thread Remove CGI.pm from Perl Core? by rpnoble419

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.