Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: unable to monitor file size change with win32::changenotify

by ramlight (Friar)
on Jul 11, 2009 at 22:17 UTC ( [id://779265]=note: print w/replies, xml ) Need Help??


in reply to unable to monitor file size change with win32::changenotify

The biggest problem is that you are trying to monitor a file; when I try to do that with this code, I get the same error that you do. If, however, you specify only a directory at the prompt in your program, you will get a little further.

Of course when you get that far, you will discover that your program prints both "Nothing Changed" and "Something Changed" if nothing has changed. You might want to look into your logic a little further.

  • Comment on Re: unable to monitor file size change with win32::changenotify

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2024-04-25 16:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found