Perl
This page is to capture the status and progress of Perl
support for windows on arm.
Repository
Status
Perl can be compiled, and test suite is passing (from this commit, should be in version v5.36.0).
CPAN Packages can be installed https://www.cpan.org/
No support for any Perl distributions yet.
Build/test from Source
See this recipe: https://gitlab.com/Linaro/windowsonarm/packages/perl5/-/blob/master/recipe.sh
Install
You can use perl5 package available from https://woastorage.blob.core.windows.net/packages/index.html.
Cpanm must be called from a Visual prompt: your PATH should contain cl.exe, nmake
cd C:/
# unzip from C:/
unzip package.zip
dir C:/perl/bin/
# add bin folder to PATH
set PATH=C:/perl/bin;%PATH%
# cl.exe and nmake must be available from this prompt
cl.exe
# install a package using cpanm
cpanm JSON
Perl Distributions
On Windows, two Perl distributions are available:
Strawberry: https://strawberryperl.com/
ActivePerl: https://www.activestate.com/products/perl/
Strawberry seems to be most used one. It packages perl, with a compiler (mingw) and precompiled libraries to allow installation of any CPAN package easily.
ActivePerl has its own package system, and most of them are outdated today.
Strawberry WoA port is blocked by availability of MinGW/MSYS: https://github.com/StrawberryPerl/Perl-Dist-Strawberry/issues/28
CI
Perl uses GitHub Actions.
Â