I think CGI is perfectly valid protocol (even if we compare with fastcgi, psgi, mod_perl). For big, real websites, if's, ofcourse, not an option.

But for testing, small sysadmin scripts/gui it's just ok.

Also I think deploy of CGI script often easier.

I have a CGI scipt, I installed 5 years ago. And I use it once a two years. Between runs and reboots it does not use cpu, memory and disk IO. What else can compete with that?

However, I think CGI.pm should be removed from core, because

1. Bad implementation

2. Perl maintainers can spend time for something more usefull

3. Indeed, it's easier to update CPAN module with security fixes, than whole perl

4. It still can be on CPAN

5. Someone can write a better replacement

6. Someone can put this replacement into core

7. Unix Distribution maintainers can release package with CGI.pm and make Perl depend on it, if they want to


In reply to Re: Remove CGI.pm from Perl Core? by vsespb
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.