On Fri, 8 Jun 2001, [iso-8859-1] Vontel Girish wrote:
> I want to know what is the difference between perl and
> mod_perl????
What do you mean by 'difference'? mod_perl is Perl, but it is an Apache
module that enables one to create high-performance CGI scripts by
embedding a Perl interpreter into the address space of the web server .
This means that after the first time a script is accessed, it stays
compiled and the overhead of starting up the Perl interpreter is reduced
drastically. mod_perl also enables some other very cool features, such as
the ability to write Apache modules in Perl, making the possibility of
embedded Perl easier (i.e., Mason, EmbPerl, etc), making persistent
database connections, caching code, etc.
However, mod_perl enforces a stricter programming style -- you can't be
sloppy with global variables, unclosed file handles, etc.
Please see http://perl.apache.org for more information.
-- Brett
Brett W. McCoy
Software Engineer
Broadsoft, Inc.
240-364-5225
[EMAIL PROTECTED]