Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re^3: Prototype mismatch error - ChangeNotify

by merrymonk (Hermit)
on May 23, 2011 at 08:41 UTC ( #906263=note: print w/replies, xml ) Need Help??

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 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).

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2021-03-07 06:44 GMT
Find Nodes?
    Voting Booth?
    My favorite kind of desktop background is:

    Results (120 votes). Check out past polls.