http://qs321.pair.com?node_id=74733

Perl Newby has asked for the wisdom of the Perl Monks concerning the following question:

I have a sports web site where I am going to post the box scores of pro sports games. I have already written script that will parse the data and put it into an HTML format. My problem is that I want to be able to set up some form of a trigger that will automatically fire when I receive a new file. This is the scenario I want to use: 1.) I receive the box score via FTP in a text file format, ex. mlb_boxscore.txt 2.) As soon as the file is FTP'd I would like a trigger to set off the code I have written that parses and formats the data 3) After the code runs, the web site is updated. Any suggestions on how I would write a trigger that could accomplish this?