I have a simple CGI script that prints out a header and a footer for an HTML page. Between the two it prints out some content which depends on a parameter.
Depending on the parameter passed, the script will 'require' one of three different files. Each of these files contains a number of print statements to display its content along with a number of calculations.
Now the problem is that sometimes the content is displayed and sometimes it isn't. Whether or not it is displayed seems random.