F.A.Q
: CGI/Perl
Script
-
Where can I get
a PERL Tutorial?
-
What version of
Perl does the server use?
-
What
is the path to Perl?
-
How do I program
in Perl ?
-
Can I use Perl
scripts in conjunction with your services?
-
Can I use CGI in
conjunction with your services?
-
What is
Perl?
-
What is
CGI?
-
Helpful
Links
-
Where can I get
a PERL Tutorial?
- What version of Perl does the
server use? -
Top
Perl Version 5.006
- What is the path to Perl?
-
Top
This is the path to Perl:
#!/usr/bin/perl
-
How do I
program
in Perl ? -
Top
We do not provide PERL programming
support, please contact an experienced PERL programmer. You
may want to look over
www.perl.com.
Can I
use Perl
scripts in conjunction with your services? -
Top
Yes. Each account is setup
with a cgi-bin directory where perl programs can be run.
Can I
use CGI in
conjunction with your services?
- Top
Yes. Each
account is setup with a cgi-bin directory: /var/www/cgi-bin
What is Perl?
-
Top
Perl (Practical Extraction and
Reporting Language) is a
script programming language that is similar in
syntax to the
C language and that includes a number of popular
UNIX facilities such as
SED,
awk, and
tr. Perl is an
interpreted language that can optionally be
compiled just before execution into either C code
or cross-platform
bytecode. When compiled, a Perl program is almost (but not
quite) as fast as a fully precompiled C language program. Perl
is regarded as a good choice for developing common gateway
interface (CGI)
programs because it has good text manipulation facilities
(although it also handles binary files). It was invented by
Larry Wall.
Click here for more.
What is CGI?
-
Top
The common gateway interface (CGI)
is a standard way for a Web
server to pass a Web user's request to an application
program and to receive data back to forward to the user. When
the user requests a Web page (for example, by clicking on a
highlighted word or entering a Web site address), the server
sends back the requested page. However, when a user fills out
a form on a Web page and sends it in, it usually needs to be
processed by an application program. The Web server typically
passes the form information to a small application program
that processes the data and may send back a confirmation
message. This method or convention for passing data back and
forth between the server and the application is called the
common gateway interface (CGI). It is part of the Web's
Hypertext Transfer Protocol (HTTP).
Click here for more.
Helpful
Links:
Introduction to CGI Programming
- The
Most Simple Intro to CGI - BigNoseBird.com's very
general overall of the mechanics behind common gateway
interface (CGI) programming
Introducing
CGI Programming on the Web - another general
explanation of CGI from O'Reilly.
- Unix Commands
- Basic
Unix - most of the commands you'll ever need for basic
UNIX chores.
- Perl Guides
- Official
Perl Site - the definitive site for everything Perl...FAQs,
documentation, even the latest versions of Perl.
Rex
Swain's Perl 5 Reference Guide - fantastic resource,
with virtually every Perl command listed/defined.
- Debugging CGI Scripts
- Selena
Sol's CGI Troubleshooting FAQ - common problems
associated with the installation of Perl (CGI) programs.
|