in reply to cgi/perl/fortran web program

Have you tried running the tolerance.test program using its absolute path? Maybe (or rather, likely) Apache2 doesn't set the current working directory for your CGI script.

Also, you should check the result of system:

@proglist = ("tolerance.test","$content","$conflev","$n"); system(@proglist) == 0 or die "Couldn't launch [@proglist]: $! / $?";