> There's one thing i've always wanted to understand...Sometimes the perl
> program ends with .pl and sometimes .cgi....maybe i'm a very bad programmer

Perl doesn't care what the extension is.  A lot of perl programmers use
.pl and .cgi because they want to.

This also has the advantage that webmasters can set a rule in the webserver
configuration to treat any file that ends in .pl or .cgi to be an executable.
This gives the webmaster more freedom in heirarchy for the site design.

Under NT I believe (and I could be wrong) you associate the file extension
with the program to execute it (Perl).

Under UNIX (the sensible option) ;)  You simply mark the file executable
and thats it.

Red

Reply via email to