in reply to Re^2: Prototype mismatch error - ChangeNotify
in thread Prototype mismatch error - ChangeNotify

I have had a very helpful reply from Christopher J. Madsen via RT bug-Win32-IPC@rt.cpan.org who suggested that in my case I can remove the problem by using
use Win32::ChangeNotify qw(FILE_NOTIFY_CHANGE_SIZE);
As this will just export _NOTIFY_CHANGE_SIZE from the module. Therefore there will not be any conflict with INFINITE. This worked so I no longer have a problem!
Thanks for your help in pointing me in the right direction

Replies are listed 'Best First'.
Re^4: Prototype mismatch error - ChangeNotify
by John M. Dlugosz (Monsignor) on May 23, 2011 at 17:31 UTC
    Ah yes, I should have thought of that. Listing the one thing you do want (or can tolerate) is different from using an empty () which will not call import at all (which is what I worried about).