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.
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):
a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.
b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).
PERL Script on Windows and Linux and compiled executable cgi exe for Windows (same perl script compiled using pdk).