Mon May 23 03:57:05 2011: Request 68388 was acted upon. Transaction: Ticket created by msl20...@btinternet.com Queue: Win32-IPC Subject: prbolme with process.pm and changenotify.pm Broken in: (no value) Severity: (no value) Owner: Nobody Requestors: msl20...@btinternet.com Status: new Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=68388 >
I think that there is some incompatibility between Process.pm and ChangeNotify.pm. My Perl code seems to work without any problem. However, it would be good to know if there are any potential issues because of it. The test Perl is below. use strict "vars"; use Win32; use Win32::ChangeNotify; use Win32::Process; with this code above I get C:>bug.pl Constant subroutine main::INFINITE redefined at C:/perl5/lib/Exporter.pm line 64. at C:\Radan\configuration_data\dat\cust\hm_app\MSLRadview\bug.pl line 4 Prototype mismatch: sub main::INFINITE () vs none at C:/perl5/lib/Exporter.pm line 64. at C:\Radan\configuration_data\dat\cust\hm_app\MSLRadview\bug.pl line 4 When I put ChangeNotify after Process - i.e. use strict "vars"; use Win32; use Win32::Process; use Win32::ChangeNotify; I get C:\>bug.pz Prototype mismatch: sub main::INFINITE: none vs () at C:/perl5/lib/Exporter.pm line 64. at C:\bug.pz line 5 Best regards Henry Merryweather