A CGI script could be a shell script, a compiled program written in
C/C++/PASCAL (I even have a
client whose CGI programs were developed in FORTRAN), PERL, PHP, EXPECT,
TCL.  Basically
any program that can run on your WEB server (without going in details).

CGI scripts,need not contain:

Content-type: text/plain
{newline}
{newline}


However, before you can display any output on the user's browser, the
above text must be to printed.

So, the answer to your question is: a PERL program is just one form of a
CGI script.  If an output is required on a browser (i.e., inform a user
of the outcome of a query, say), then you need to print out

Content-type: text/plain\n\n";


__________________

William Ampeh (x3939)
Federal Reserve Board


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to