What's the difference between CGI and Perl scripts?

Post Reply
User avatar
Nick|NFo
Former staff
Former staff
Posts: 2252
Joined: Sun Mar 30, 2003 1:56 pm
Location: 127.0.0.1

What's the difference between CGI and Perl scripts?

Post by Nick|NFo » Sat Mar 01, 2008 1:11 pm

On our webserver, they are treated the same, so the extensions are interchangeable. By convention, if a script uses Perl, you should give it a .pl extension. If it uses another language, such as compiled c or a shell script, use .cgi.
-Nick

Post Reply