Running Perl on a PC

584 Views | 5 Replies | Last: 2 mo ago by flakrat
Bonfire97
How long do you want to ignore this user?
AG
Does anyone know of a good Perl compiler to use on Windows? Found "Strawberry Perl" from Perl.org. Has anyone used this or something similar? Thanks in advance.
UmustBKidding
How long do you want to ignore this user?
Strawberry was more generic perl for many years where Activestate had lots of baked in code to support windows native API's. Strawberry updates were paused awhile but seems to have restarted. Activestate is still more current. My recommendation actually would be to use PERL under WSL if that will work for you.
flakrat
How long do you want to ignore this user?
AG
If you don't need perl for Windows and rather need to be able to run perl scripts and only have a windows computer, consider running a Linux VM in Windows Subsystem for Linux (WSL).

It's super easy to install and use, especially if you have Windows Terminal installed (Microsoft app from the Windows Store). Within Windows Terminal you can open a tab to your VM and from there you can install perl if not already installed ( sudo apt update; sudo apt -y install perl)

The install command assumes you picked a Debian based VM like Debian, Ubuntu, Kali, etc...
flakrat
How long do you want to ignore this user?
AG
I don't do a whole lot on Windows (Linux guy) but I recall that WSL also makes one of your Windows directories avaliable inside the VM to make it easy to access your files.
UmustBKidding
How long do you want to ignore this user?
It does create a share with windows. I assume this inquiry is to deploy an existing application or potentially learn perl to support an existing application. I have used perl since larry wall posted the first public version on usenet. But i would never use perl for new development today. Still updating existing systems and even new code in support of them. But new stuff is python for me.
flakrat
How long do you want to ignore this user?
AG
UmustBKidding said:

It does create a share with windows. I assume this inquiry is to deploy an existing application or potentially learn perl to support an existing application. I have used perl since larry wall posted the first public version on usenet. But i would never use perl for new development today. Still updating existing systems and even new code in support of them. But new stuff is python for me.


I still use perl on the command line for search and replace:

some-command | perl -pi -e 's/inactive/ACTIVE/g;'

Even though I know sed is there begging me to use it.
Refresh
Page 1 of 1
 
×
subscribe Verify your student status
See Subscription Benefits
Trial only available to users who have never subscribed or participated in a previous trial.