I have cut down a script as far as this
#!/usr/bin/perl -w
print "<html> Hello </html>"
It still gives the same error. I think permissions are OK and the script runs on the command line.
Can anyone tell me how to get decent error messages out of the system or what the problem is likely to be and how to fix it.
use CGI::Carp [search.cpan.org] qw(fatalsToBrowser);