Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re^2: cgi or mod_perl

by donarb (Beadle)
on Dec 24, 2005 at 19:34 UTC ( #518924=note: print w/replies, xml ) Need Help??

in reply to Re: cgi or mod_perl
in thread cgi or mod_perl

Note that using cgi is not the same as using the module. The main difference between cgi and mod_perl is that for mod_perl the perl interpreter is embedded in the Apache process.

When writing/testing a web application, one advantage of cgi over mod_perl is that because cgi reloads your modules for each request, you can easily make changes without having to restart the server. mod_perl does have some tricks to get around that though.

The module helps make using cgi on a server easier, it can parse POST parameters, bake cookies, and generate compliant HTML code. With mod_perl some of that functionality is provided by the Apache:: modules, but you can use some parts of in mod_perl as well. So by all means, whether you use cgi or mod_perl, you should learn how to work with

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://518924]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2022-01-17 02:24 GMT
Find Nodes?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:

    Results (50 votes). Check out past polls.