On Thu, Nov 02, 2006 at 11:53:39AM -0800, Glenn Linderman wrote:
> It would be great if the error message said something like:
>
> "Config.pm version (v5.8.8) doesn't match C:\Windows\system32\perl58.dll
> version (v5.8.3)"
Agree that it would be useful.
> Does Windows perl have $Config{useshrplib} set? If so, we could change
> configpm (the tool that generates lib/Config.pm) to conditionally say
> something like
>
> Perl Config.pm version (v5.8.8) doesn't match shared library version
> used by C:/Perl/bin/perl.exe (v5.8.3) at C:/Perl/lib/Config.pm line 46.
>
> I don't know if that would be more or less confusing, however.
I think that's going to be more confusing, as it's going to be 100% wrong.
The desire is to have the path of the (loaded) perl DLL in the error message.
The value of $Config{useshrplib} in Config.pm is going to be the location of
the *correct* perl DLL. The error message is triggered by the (stub) perl.exe
loading the wrong DLL. The wrong DLL might have any path, and it's that
(unknown to %Config::Config) path for the loaded DLL that is desired for the
error message.
Nicholas Clark
Thread Previous
|
Thread Next