[plug] Perl CGI scripts

Leon Brooks leon at brooks.smileys.net
Wed Nov 4 08:14:27 WST 1998


P Robinson wrote:
> Can someone give me some general pointers to help me start out, and
> possibly an example. Once I get going I'm usually fine, its just the mag
> is stupid and just gives you the two sample files and a general intro to
> CGI which I already knew.

from the command line, do a 'which perl' and make sure the # line at the
top of the script reflects this (it may be in a different place to their
perl). Check your apache httpd.conf etc to see if the directory is
script-enabled. Make a simple shell script which outputs the bare
minimum headers and HTML (I think apache comes with printenv and maybe
one other test script) and see if it/they run.


More information about the plug mailing list