Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

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

by ramlight (Friar)
on Jul 11, 2009 at 22:17 UTC ( #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? | Other CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2022-08-12 02:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?