Perl Script Adjustment: Zero Results Handling

Fermé Publié le il y a 2 semaines Paiement à la livraison
Fermé Paiement à la livraison

I have a Perl script that searches a CVS file and generates HTML. When this script has zero results, it currently displays a page stating "SORRY there are no RESULTS". I need this behaviour to change: instead of generating a custom error message, I want the script to send a 404 call to the Apache server.

Key Requirements:

- Modify the Perl script to send a 404 call to the server when no results are found.

- Implement a custom error message to be displayed on the 404 error page.

Additional Details:

- No logging of details of 404 errors is required for monitoring or debugging purposes.

- The script should still function as normal when results are found, only altering its behaviour when no matches are found.

- The ideal candidate for this project should have experience with Perl, CVS files, HTML generation and Apache server interactions. A good understanding of HTTP status codes, particularly 404, is necessary.

HTML Perl

Nº du projet : #38059464

À propos du projet

6 propositions Projet à distance Actif il y a 2 semaines