In this post HERE I asked how to see which copy of perl was installed with matlab. This is the copy of perl which gets called when perl.m is used.
I have been given a .pl script which requires a newer version of perl as it uses "switch". Thus I need the copy to support threads.
I have been instructed to install the "ActiveState version". Can someone please inform me how I can do this and how I associate matlab with this new version?
I am running 64bit win7, 2013A and
system(['"',fullfile(matlabroot, 'sys\perl\win32\bin\perl.exe'),'" -version'])
This is perl, v5.8.9 built for MSWin32-x86-multi-thread
(with 12 registered patches, see perl -V for more detail)
Copyright 1987-2008, Larry Wall