Explain Perl and Mod Perl?
https://www.computersprofessor.com/2016/06/explain-perl-and-mod-perl.html
Perl:
CGI scripts can be developed in
most programming
languages, the only restriction
is the web server must be
able to execute the
script.
The most popular
languages for CGI development are perl, V,B,C is
java.
1) CGI
scripts tend to be
simple.
2) CGI
involves the manipulation of text
strings perl was
specifically developed to handle text.
3) Perl
is freely and widely available.
4) There is a mass
of helpful information
available from world wide
web sites.
The current version of perl
5 which was a
major rewrite from
version 4.
Using perl writing, debugging and
testing CGI scripts on remote
server.
Before trying
to install your own copy of
peral check that you haven’t already got One
available.
If
you use the unix o/s
on an institutional machine
or pc running Linix
then the chances are
that you already
have perl.
To
check simply open terminal (command
prompt) and type
Perl -V
If you have perl, then
a few lines of
version Information will be
displayed.
|
MOD
– PERL:
The most
important words in web
development must be
security and performance.
When you write
a perl script for
a CGI server, you
don’t have to
compile it.
When a
user requests your script the web
server starts the perl interpreter which
loads Your
script is internally
compiles it to byte code.
The
developers is users of the
Apache web server have
provide a number of
optional modules which
can be used
to extend and
improve the capabilities of that server.
The mod- perl module works by
loading the perl interpreter in
to memory just
once And then keeping it
there.
As each script
is required it
is compiled and also loaded in to memory.
Perl
is a truly platform- independent language.
Asp
technology runs only on
IIS is that requires windows.
If
you want speed, scalability and
platform independence then
Apache, mod-perl and Perl is the
best way to
develop server-side web applications.
|