Main Stories
Slash Boxes

Slash Open Source Project

Slashcode Log In

Log In

[ Create a new account ]

Article Poll

Poll I found this article to be
Very Helpful
Helpful
Not Helpful
Not Very Helpful
[ Results | Polls ]
Comments:0 | Votes:2

Difference between perl and mod_perl?

posted by Krow on 08:56 PM May 21st, 2002   Printer-friendly   Email story
What are the differences between perl and mod_perl? Is it easy for someone who knows perl to pick up mod_perl?
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login
Loading... please wait.
  • Well, in a few words, one is a programming language and one is a module used to extend the Apache server. Compare Perl [perl.com] and Apache mod-perl [apache.org] at those respective home pages.

    The more usual FAQ is how hard is it to program using mod_perl once you know how to program CGI in Perl. Let's just say that are many pitfalls but for those who RTFM [apache.org] you can usually find out what's going wrong and the benefits if you are doing a serious project (like Slash) over vanilla CGI are huge

    • Perhaps strangely, I find it easier even programming in raw mod_perl handlers (as distinct from Apache::Registry, or any of the wonderful templating solutions) than to write CGI. Mainly because the Apache::* modules are so cool and provide constants and routines to do everything. That said, CGI programming without CGI.pm would be hell.
      --
      ---ict.
  • by Anonymous Coward
    What the Heck? This guy is clueless!
    • by Anonymous Coward
      This guy is cluless!

      Or a very clever troll.

      Clueless or not, it is a good question, and a FAQ that should be easier to find.