It isn't that it is inadequate (CGI/Perl, that is), but rather that many applications may not need mod_perl. A simple guestbook, file manager, calendar, etc... may not need the speed enhancements, caching, response/logging phase massaging, etc... that mod_perl provides. mod_perl does add some bloat, which isn't always needed.

People need to do things with the right tools, and mod_perl is Just Another Tool. It is also a valuable tool which provides functionalities which 'regular' CGI/Perl does not. Or at least provides a more efficient way to do some things (for example, you *can* write to the http log file with CGI/Perl, but mod_perl provides a better way).

Whenever speed/response time is an issue with a CGI application, you should take mod_perl (or fastCGI) into account and see if those tools will help build a better web application.

Cheers,
KM


In reply to RE: mod_perl: Is it so necessary? by KM
in thread mod_perl: Is it so necessary? by rodry

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.