Installing Strawberry Perl in Windows

From Thomas-Krenn-Wiki
Jump to navigation Jump to search

In order to run a Perl application in Windows, a Perl-Distribution for Windows is needed.[1] The following article shows the installation and use of Strawberry Perl[2][3] in Windows.

Installation

The msi-Installer can be downloaded from:

or direct:

The following gallery of images will demonstrate the installation process (version 5.16.3.1):

Execute Perl

The following output is based on the example of version 5.24.0.1:

C:\Users\tniedermeier>perl -V
Summary of my perl5 (revision 5 version 24 subversion 0) configuration:
   
  Platform:
    osname=MSWin32, osvers=6.3, archname=MSWin32-x64-multi-thread
    uname='Win32 strawberry-perl 5.24.0.1 #1 Tue May 10 21:30:49 2016 x64'
[...]

A short test-script checks the execution of Perl:

#!/bin/perl -w
print "Hello World";
C:\Users\tktest\Documents>perl test.pl
Hello World

References

  1. Get Perl (perl.org)
  2. Strawberry Perl Wikipedia Artikel (wikipedia.org)
  3. Strawberry Perl for Windows (strawberryperl.com)

Related articles

GPU Sensor Monitoring Plugin Setup
Install storcli under Ubuntu
Mdadm checkarray function