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


in reply to Re^3: File::Monitor problem with batch files
in thread File::Monitor problem with batch files

Sounds good. Thanks!

But what i want is the "monitor always on" during the period of which i compose my files, the code monitor my "saving" action and then copy the new modified file to the newpath automatically.

Your code does work well after i added a while loop, but just for the first file in the "@Files" list, after i modified and saved the second and third file, there was no response.

May be i didn't totally understand you, please don't hesitate to let me know!