cancel
Showing results for 
Search instead for 
Did you mean: 

Formmail funny!

N/A

Formmail funny!

I have a formmail problem, not the one on F9 but my own modified formmail.
(The changes are two added lines for a Data Protection Act notice, also I store each transaction in a data file).
This worked happily on the old cgi platform.

with
#!/usr/bin/perl

Internal server error - but emails are sent.

with
#!/usr/bin/perl -w

Internal server error - but emails are sent.

with
#!/usr/bin/perl

use CGI::Carp qw( fatalsToBrowser );

CGI system error : script execution failed

with
#!/usr/bin/perl -w

use CGI::Carp qw( fatalsToBrowser );

the script runs properly without any errors and emails are sent.

In all cases the script is set to 750.

The -w was gleaned from the CGI forum, what it does I do not know.

Any ideas please