Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^4: File::Monitor problem with batch files

by xbmy (Friar)
on Nov 18, 2010 at 14:53 UTC ( #872263=note: print w/replies, xml ) Need Help??


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!

  • Comment on Re^4: File::Monitor problem with batch files