Question:
how to run a perl script on windows pc?
lovedil
2010-07-22 01:34:30 UTC
hi this is bit urgent for me...

i have a perl script on my desktop of windows pc and active-perl is also downloaded on my windows desktop how can i run this script using command prompt pls help
Seven answers:
martinthurn
2010-07-22 12:15:54 UTC
1. Install ActivePerl

2. Open command-prompt

3. type perl

4. drag your script from desktop to the command-prompt window

5. press
vkhoria
2010-07-22 04:46:39 UTC
You need to install some Perl version for Windows.



Examples:

ActivePerl, WinPerl etc



Once you install them and then write a perl script. You can run then with the installed software (using run with).

Or if you name the file with .pl extension, the softwares should recognize them.
Runa
2010-07-22 01:42:16 UTC
Click on the "Run" box from the "Start" menu. Type "cmd" (no quotes) in the box, and hit enter. Navigate to the directory where your script is located by using the "cd" command. For example:



cd "c:\Perl\bin"



then type the name of the script and hit enter.
JoelKatz
2010-07-22 01:40:49 UTC
Simply type the path to the perl executable (in quotes) a space and then the path to the perl script (in quotes).
Kenneth
2010-07-22 01:41:30 UTC
Assuming you have completed the installation of ActivePerl, you go to the cmd line and type 'perl yourfile.pl'



Of course yourfile.pl is to be replaced by whatever the name of your Perl file is.
Sharon
2016-04-17 18:58:41 UTC
xp-right click "My Computer" and click "manage" go to the disk defragmentor or if you have diskeeper lite click that or disk management click on your C drive and click analyze you will see a lot of red and pink files those are files that over time get put far away from each other from downloading things and this causes computers to perform slower because it takes it longer to find the files after you analyze it, click defragment this will put all of your files similar to each other closer together so your computer can access them faster. if you need more help google defragment computers or ask another questions about the type of computer you have
?
2010-07-22 02:21:03 UTC
u use perl software....................


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...