Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://872263]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2014-08-01 10:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who would be the most fun to work for?















    Results (4 votes), past polls