|Don't ask to ask, just ask|
Re: Failure to cpanm PP on portable Strawberry Perl 24by syphilis (Bishop)
|on Jul 24, 2017 at 00:23 UTC||Need Help??|
The procedure entry point _ZdlPvy could not be located in the dynamic link library C:\Strawberry\perl\bin\perl526.dll
This is indicates that an attempt to load perl526.dll is being made. But that's the wrong dll - perl5.24.x needs to load perl524.dll.
This can be addressed by ensuring that the location of perl-5.24 appears before the location of perl-5.26 in the path.
But you'll also want to ensure that the correct compiler is being used. For strawberry 5.24 gcc --version should indicate version 4.9.2, while for strawberry 5.26, gcc --version should indicate version 7.1.0.
If this is not the case it, too, can be fixed by fiddling with the PATH.
It's actually fairly easy to use different versions of Strawberry Perl on the one machine. You just make sure that you install only the 'portable' builds, and that you start the perl of your choice by double-clicking on 'portableshell.bat' (which is in the top level Strawberry Perl directory).
Incidentally, cpanm is a batch file (.bat) not a .exe.