"perl" is not recognized as an external or internal command * Help configuring strawberries perl! *

I teach myself Perl, and I installed Strawberry on my 64-bit Windows 8. The Strawberry command line works fine and I created a new folder in my Strawberry folder on my C drive to host my practice files (created in Notepad ++) .

I go to my directory containing the .pl files (which in my case is C: \ Strawberry \ programs) and try to run the program, for example. perl practice1.pl. When I do this, he says that "perl" is not recognized as an external or internal command. Not quite sure what I'm doing wrong!

+4
source share
1 answer

Indicate the path

: - - OS Envirnment, , google

, : -

, perl : -

c:\perl\perl.exe

.pl "Strawberry", c: -

:\\perl_script1.pl c:\Strawberry\perl_script2.pl ..

cmd perl,

c:\perl\

perl.exe

perl_script1.pl

c:\perl\perl c:\Strawberry\perl_script1.pl// script

:)

+4

Source: https://habr.com/ru/post/1570412/


All Articles