> I agree with your error message - testapi.pm did not return a true value!
> Add a "1;" as the last line in the module and this error will go away.
> -sam
I added the line as above and re-ran the script in the debug mode. The
output it show's is as below
Content-Type: text/html; charset=ISO-8859-1
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML Basic 1.0//EN"
"http://www.w3.org/TR/xhtml-basic/xhtml-basic10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US"><head><title>test
Search Form</title>
</head><body><form method="post" action="/test.cgi"
enctype="application/x-www-form-urlencoded">
<input type="text" name="testcode" /><input type="hidden" name="rm"
value="mode2" /><input type="submit" name=".submit"
/>
</form></body></html>Debugged program terminated. Use q to quit or R to
restart,
use O inhibit_exit to avoid stopping after program termination,
h q, h R or h O to get additional info.
If I copy and paste the output in a file and save it as html, it works fine,
when I call this script from the web server, It returns me an Internal
Server Error message. What is the reason??
Thanks
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]