Subject: | prbolme with process.pm and changenotify.pm |
Date: | Mon, 23 May 2011 08:57:15 +0100 |
To: | <durist [...] frii.com>, <bug-Win32-IPC [...] rt.cpan.org> |
From: | "MSL" <msl2005a [...] btinternet.com> |
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