"require" on Win95 with WebSite2.3a
Posted on 1998-08-26
Hello, I am having a problem with using the require command in Perl,
and cannot solve it. I would very much appreciate if someone could
I have 3 files called config.pl, webbbs.pl and webbbs_text.pl in the
folder C:\WWW\LR2\ The first lines in config.pl are as follows:
require "./webbbs.pl"; require "./webbbs_text.pl";
This doesn't work!! That is, when i run config.pl from the browser
through localhost on WebSite2.3a, I get a 500 Server Error (CGI
output from C:/WWW/LR2/config.pl contained no blank line separating
header and data), and yet, all the scripts compile with no errors
using the Perl Interpreter in DOS.
That is why i suspect that something is wrong with requre.
Also, i have tried require "C:\\WWW\\LR2\\webbbs.pl"; to no avail.