|
|||||||
New to SitePoint Forums? Register here for free!
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
SitePoint Wizard
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 1,612
|
Hey,
I ahve downloaded and installed Strawberry PERL on my Windows 7 machine and have written the following perl script below and saved it to my desktop as test.pl Perl Code:
How do I run this perl script? |
|
|
|
|
|
#2 |
|
SitePoint Evangelist
![]() ![]() ![]() ![]() Join Date: Oct 2009
Posts: 468
|
there must be a file somewhere, called perl.exe
you have to put your test.pl into same directory, start console, switch to this directory and type perl test.pl |
|
|
|
|
|
#3 |
|
SitePoint Wizard
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Mar 2001
Posts: 3,455
|
Try this:
1) Open a command window(look in your Program Files folder or search your system's Help). 2) Type the part in bold at the prompt: ....> perl -v That should print out some information about the version. If that works then: 2) ...> cd \path\to\your_programs_folder (cd = change directory) 3) C:\path\to\your_programs_folder> perl test.pl |
|
|
|
|
|
#4 |
|
SitePoint Wizard
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 1,612
|
Excellent, Thanks
|
|
|
|
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
|
All times are GMT -7. The time now is 03:54.









Linear Mode
