Installation of Perl commands in Windows

1. Download the perl installation package from ActiveState

Download & Install Perl - ActiveState

2. At the bottom of the project, there is a button to install Perl. Click it to select the version suitable for your computer. There are two installation methods given on the official website. The version installed in this article is Perl 5.36 of Win10

 

Method 1: Download the installation package and run it directly

After the installation package is completed, the following picture is shown:

 Then run the code given above in cmd

state activate --default TikMarskasbili/Perl-5.36.0-Windows

After the operation is completed, the following picture is shown:

Method 2: Download and install directly in cmd

 

 After the installation is complete, enter the following command in cmd to check whether the installation is successful

perl -v

As shown in the figure below, the installation is successful. 

 

Finally, give chatgpt's suggestion:

 

 

Guess you like

Origin blog.csdn.net/m0_64206188/article/details/128366112