tryin_to_learn wrote:Ok, we're getting somewhere. The script runs with 5.8.8. Can I just replace my 5.10.0 version in xampp with 5.8.8 or does the script need to be changed to accommodate 5.10.0? If I use 5.8.8, can I just delete everything in the xampp\perl\ folder and copy everything from the 5.8.8 perl folder to the xampp\perl folder? Would I need to run setup_xampp.bat again?
I noticed in an earlier post that you said you had installed the current perl add-on over an existing one. This is the first time I've ever installed perl so there was no older version on my machine - could that be causing the problem?
Thanks so much for your help, btw. I've really appreciated it.
Your very welcome.
You can't copy files over, you have to extract the archive to
C:\xampp as there are files that need to go in other folders in the xampp folder tree.
Remove the 5.8.8 C:\perl instance first and change the shebang in your script to the new path to perl which was
#!"C:\xampp\perl\bin\perl.exe"
Because you are going to use an older version than you already have I would delete the xampp\perl folder rather than trying to overwrite newer files with older files also some files peculiar to 5.10.0 may be left behind and so possibly give unneeded errors again
(Because you are not using an install script, overwriting newer files with older files should work when extracting an archive, as it just overwrites existing files irrespective of the date of the file - it should just ask if you want to overwrite existing, select to overwrite all would be the way to go, if you use this method).
No matter how you do it you can not damage the perl addon installation and if you think it has been damaged for some strange reason then just simply install again, but remember to always run the bat files twice every time you re-install the perl addon.
So to recap, extract the perl 5.8.8 archive as if it was a new addon installation as there are files that have to be extracted to other folders in the XAMPP tree, so to all intents and purposes it is a fresh perl instance - select overwrite when/if asked.
You then have to follow the above ENGLISH install instructions and run the bat file twice.
I am pleased you have been able to get to the bottom of this issue and I am sure the script's author would also like to know that the script has a version issue.