Gift Certificate Redemption Code

IN PROGRESS
Bids
3
Avg Bid (USD)
N/A
Project Budget (USD)
$30 - $100

Project Description:
Revise current (or create new) perl file (redeem.pl)that I've uploaded. File should: 1) read gift certificate code entered by site visitor on a prior form (toRedeem) that posts to the redeem.pl file; 2) compare the code to lines in allcode.txt file which is a list of redeemable codes (which is a simple text file with 1 code per line); 3. if code entered does not match, perl page prints an error message to screen; 4.) if code entered is found in allcode.txt, the perl file posts variables to next page in sequence (quiz.pl), allowing visitor to proceed; 5)writes the code entered in a redeemcode.txt file (at bottom or top, doesn't matter); 6) removes/erases the code from the allcode.txt file so that it cannot be used again. Note: current file successfully performs steps 1-4, but does not perform 5 & 6 (ie. deleting the code from the text file or writing the code to another text file). ~~~I have uploaded all files in the sequence. I believe the type of perl used in the original script was based on Craig Patchett's "style". I would like to establish an ongoing relationship with a perl programmer for future projects, large and small.

Skills required:
Perl
Additional Files: quiz.pl toRedeem redeem.pl allcode.txt redeemcode.txt
About the employer:
Verified
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.