http://www.perlmonks.org?node_id=988908


in reply to Muliple perl installation sucks!

Perl lib version (5.12.3) doesn't match executable version (v5.14.2)

Your Strawberry installation appears to have the wrong C:/Strawberry/perl/lib/Config.pm.
That one belongs to perl-5.12.3, but you have 5.14.2

I don't know how that would happen - I guess it's the result of an upgrade from 5.12.3 to 5.14.2 that didn't go as intended.
You could remove all of the other perls from your box, and you would still have the same problem.

Cheers,
Rob

Replies are listed 'Best First'.
Re^2: Muliple perl installation sucks!
by Anonymous Monk on Aug 23, 2012 at 16:30 UTC

    Hello Rob,

    I did not attempted any failed upgrade of any perl version on my system. But quick look at C:\Strawberry\perl\lib\Config.pm shows me that library version 5.12.3 seems to be hard coded in the code.

    ... few lines omitted *{$callpkg.'::'.$func} = \&{$func}; } *{"$callpkg\::Config"} = \%Config if $export_Config; return; } die "Perl lib version (5.12.3) doesn't match executable version ($])" unless $^V; $^V eq 5.12.3 or die "Perl lib version (5.12.3) doesn't match executable version + (" . sprintf("v%vd",$^V) . ")"; sub FETCH { my($self, $key) = @_; ... rest omitted
      Config.pm is the module that stores the configuration information for your version of Perl. Of course, the hardcoded version number there means that this version of Config.pm is for a Perl of that version, 5.12.3. So, your installation got corrupted and I recommend starting over fresh, or restoring that directory from a known good backup.

        Thank you all for your help.

        I am now going to get rid of all the vendor perl version and re-install Strawberry flavor.

        On side note: The posting editor forces you to learn some HTML tags rather than just plain posting. Not that I am complaining since just couple of them, completely UN-necessary though.