We need to add robost error handling to an existing perl script. **Bid only if you have very good knowledge of perl.
**This is a perl wrapper on a command line "Site Search" engine.
You can view a demo of working script here - <[url removed, login to view]>
It works on our server, but some of our beta testers have reported that they are not able to configure it and some are getting the following error:
"CGI ErrorThe specified CGI application misbehaved by not returning a complete set of HTTP headers"
The main site search code is a command line executable, and the perl script calls it using backtick operator. The commad line executable returns a XML, which is then formatted by the perl script. It also uses some external templates and css to format the HTML. So, if the command line executable fails to run, or if the external templates are not available or if there is a problem in formatting of the result, we sometimes get this error.
So, the main purpose of this project is to review the perl script that we are shipping with the product (its included in the examples folder) and to make it error prrof and simplify it if we can. In case of any of these failures, the error should be logged to a text file should be properly reported instead of a wrong HTTP header message on the browser. The script works on both Windows and Linux and we can compile the script using pdk to run it on Windows where perl is not installed. So, the new script should work in all three cases.
Please download the package (<[url removed, login to view]>) and review the perl script from examples folder before you bid on the project.
PERL Script on Windows and Linux and compiled executable cgi exe for Windows (same perl script compiled using pdk).