http://www.perlmonks.org?node_id=174164

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

Is it possible with Perl on Windows to monitor a directory, and when a file is put in that directory, do something with it? I am looking for a way to process the files as they appear in a directory, rather than check at certain time intervals (which is the way I do it now). Any suggestions where to get started would be helpful.