in reply to Puzzling Prototype Mismatch Error

It looks like Win32::IPC contains some special treatment of the INFINITE constant, which is conflicting with what Exporter is doing. Since I can't test it here this is a guess: If you're not using the INFINITE constant in your code, you could try use Win32::ChangeNotify '!INFINITE';

(Please use <code> tags for formatting your code.)

Replies are listed 'Best First'.
Re^2: Puzzling Prototype Mismatch Error
by Athanasius (Archbishop) on Sep 08, 2014 at 16:15 UTC

    No, there’s no inherent conflict between Win32::ChangeNotify (or Win32::IPC) and Exporter:

    2:06 >p5u v Win32::ChangeNotify Win32::ChangeNotify C:\Perl\Strawberry\strawberry-perl-5.20.0.1-64bit-PDL\perl\sit +e\lib\Win32\ChangeNotify.pm: 1.09 2:07 >perl -MWin32::ChangeNotify -wE "say INFINITE;" 4294967295 2:07 >perl -MWin32::IPC -wE "say INFINITE;" 4294967295 2:08 >

    Looks like the conflict derives from another sub INFINITE somewhere in the OP’s code, as Corion suggests.

    Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,