Cgi Perl


#1

I’m trying to use cgi on my site but it doesn’t appear to work. For example, this is not working…

#!/usr/bin/perl
use strict;
use CGI “:all”;
print header(), start_html(), “Hello World”, end_html();

What could be wrong?


#2

You probably forgot to set permissions so that the file is executable, try chmod 755. Parent directory should also be 755.

:cool: Perl / MySQL / HTML+CSS