I am having problems getting perl to open a text file. The code is:
my $file = "../../test/hello.txt";
open ($HANDLE, "> $file") || die "could not open file: $!";
print $HANDLE "hello world";
this works locally and using telnet to run perl -c shows all is ok once uploaded to force9, but when I try to call the page in a browser, I get this message:
"Can't use an undefined value as filehandle reference "
has anyone any ideas? Thanks, Jack