Ok,
This looks like either the Perl script is not working correctly (ie updating the text file) - this could be because of one of the following reasons:
1) The Permissions on the script are not set correctly.
2) The Permissions on the Text file are not set correctly
3) The script was uploaded in Binary instead of ASCII
4) The path's to the script/Text file are not correct.
Chances are though that the Permissions on the text file are not set correctly. Let me know if you have changed the permissions on the text file and what method you used for that.
Some ways to test:
Open up the Text file you are using in a browser window by itself. You can do this by typing in the Path to the Text file on your Server in a Browser window for example:
http://www.yoursite.com/TextFileName.txtTry to open up the Perl Script in the same way (in a browser) and let me know if you are getting any errors to appear on that page and what they are.