The server is expecting a CGI script, but your script doesn't follow the CGI protocol. Like the error message says, you're not sending the appropriate header. The safest thing to do is to use the CGI module.
use CGI qw( :cgi ); print(header(-type => 'application/xml')); ... print XML here ...
The above basically amounts to:
print("Content-Type: application/xml\n"); print("\n"); ... print XML here ...
In reply to Re: creating xml from cgi
by ikegami
in thread creating xml from cgi
by rsiedl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |