L
Little Monster
Hi all, sending this again since went missing first time - apologies if
appearing twice.
I have a very simple perl script acting as a placeholder for one that will
return "verses" from a book, which is a text file.
The placeholder script is supposed to print a message saying that it
works, nothing more - I can't even get that right!
Afaict, I've done everything right - the link to the script is from a page
in a frame, with the target set as a different frame. It just calls the
script with:
<A href="cgi-bin/BookOfMonster-orig.pl" name="Test link"
target="Body">Test the script</A>
The script contains only one line, a print statement:
print "The request was successful!\nThis is a work in progress - just
testing at the moment!";
all on one line of course! It runs fine in a console.
I clicking the link, I get a message from the server saying (among other
things):
Sorry, there has been a page error
The server could not complete your request.
* The script or file you are trying to call may be incorrectly
written.
(you can have a look at http://www.the-monstruum.co.uk/Book_frames.html)
Afaict, I've done everything right, but this is my first attempt at perl
and at cgi, can anyone tell me what I'm doing wrong?
Thanks in advance,
Monster
appearing twice.
I have a very simple perl script acting as a placeholder for one that will
return "verses" from a book, which is a text file.
The placeholder script is supposed to print a message saying that it
works, nothing more - I can't even get that right!
Afaict, I've done everything right - the link to the script is from a page
in a frame, with the target set as a different frame. It just calls the
script with:
<A href="cgi-bin/BookOfMonster-orig.pl" name="Test link"
target="Body">Test the script</A>
The script contains only one line, a print statement:
print "The request was successful!\nThis is a work in progress - just
testing at the moment!";
all on one line of course! It runs fine in a console.
I clicking the link, I get a message from the server saying (among other
things):
Sorry, there has been a page error
The server could not complete your request.
* The script or file you are trying to call may be incorrectly
written.
(you can have a look at http://www.the-monstruum.co.uk/Book_frames.html)
Afaict, I've done everything right, but this is my first attempt at perl
and at cgi, can anyone tell me what I'm doing wrong?
Thanks in advance,
Monster