I had been running Strawberry Perl v5.18 and decided to upgrade to v5.22
because I needed to update modules that, apparently, only work with v5.22
Perl.
After the installation, when I run Perl or even CPAN, I get error messages
like the following:
Perl lib version (5.18.1) doesn't match executable 'cpan.bat' version
(v5.22.0) at C:\Strawberry\perl\lib/Config.pm line 62.
I used the MSI installer ("strawberry-perl-5.22.0.1-64bit.msi"). I
downloaded the file today from the Strawberry Perl website. It seemed to
install without errors.
I have many, many modules that I would have to reinstall (not to mention
trying to determine what to install) if I have to remove all existing
versions of Perl. So I would like to avoid erasing everything and starting
from scratch.
Some details:
1. I'm running Win7 Professional Service Pack 1
2. The previous Perl version (v5.18):
Summary of my perl5 (revision 5 version 18 subversion 1) configuration:
Platform:
osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread-64int
uname='Win32 strawberry-perl 5.18.1.1 #1 Tue Aug 13 19:20:13 2013
i386'
config_args='undef'
hint=recommended, useposix=true, d_sigaction=undef
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
3. The new Perl version (v5.22):
perl 5, version 22, subversion 0 (v5.22.0) built for
MSWin32-x64-multi-thread
4. There is one and only one folder with Perl installations:
"C:\Strawberry"
5. The windoz path var points to the correct locations
6. There are two Perl entries in the control panel, one for v5.18 and
one for v5.22
Can you help?
<http://www.fairchildsemi.com/web_resources/themes/Fairchild2012/images/fairchild-logo.png?v2014tm>
With respect,
Lawrence F. Durfee
* Apps/Sys Engineer, USA*
Main: +1 (908) 450-9581
Fax: +1 (908) 450-9580
Mobile: +1 (908) 500-5141
*The Power to Amaze.*
*http://blog.fairchildsemi.com <http://blog.fairchildsemi.com>*

> I had been running Strawberry Perl v5.18 and decided to upgrade to v5.22
> because I needed to update modules that, apparently, only work with v5.22
> Perl.

Unfortunately it is a "feature" of perl (not only strawberry) that
installed modules (especially those that are not pure perl) has to be
reinstalled when upgrading between major versions like 5.18 >> 5.20
--
kmx