Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: How do you feel about mod_perl?

by echo (Pilgrim)
on Nov 05, 2001 at 20:55 UTC ( #123348=note: print w/replies, xml ) Need Help??

in reply to How do you feel about mod_perl?

For me, mod_perl has 3 advantages over plain CGI:
  • Performance. Everyone knows about this one: the Perl interpreter is embedded in the server process, the scripts are compiled only once. No forking and recompiling at every request.
  • Access to all request phases. CGI is limited to the content delivery phase. mod_perl lets you write your own authentication handlers, access handlers, logging, whatnot. One very useful handler is the translation handler, which lets you determine how you will serve the content at runtime, as opposed to a static configuration.
  • mod_perl exposes the Apache API, whereas mod_cgi only offers a handful of environmental variables. Escape URIs and encode HTML faster than those pure Perl modules from CPAN. Issue subrequests to do your own SSI-like thing. Many possibilities, the Apache API is very rich.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2022-01-20 12:01 GMT
Find Nodes?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:

    Results (56 votes). Check out past polls.