View Full Version : Running Perl scipts on windows??
iwod
March 12th, 2001, 07:52
Since there are so many perl script I want to try it, instead of uploading all files, so I could uses them stright on my computers. Any ideas??
is0lized
March 12th, 2001, 08:46
download an install apache _or_ linux
BiteTheBugByte
March 12th, 2001, 10:05
Active Perl Modules in combination with OmniHttpd(for server simulation).
Omari
March 12th, 2001, 20:59
i have apache and perl, but the only way i can run my scripts is when i am on the net... i wish i could do it without being on the net...
Hobbes
March 12th, 2001, 23:26
I never got perl to run with omnihttp :(
Install active perl :) You can debug them from your computer easily (although you can run them like the web :( )
puDDs
March 13th, 2001, 03:13
Originally posted by Omari
i have apache and perl, but the only way i can run my scripts is when i am on the net... i wish i could do it without being on the net...
You need to download ActivePerl from http://www.activestate.com .
Once you've installed that, add the path to perl (default is c:\perl\bin) to your path variable (I believe this is in the instructions for ActivePerl). Then, you can debug any perl script by going to its folder with the command prompt, and typing:
perl yourscript.pl
That will output your script to the command window, and show you any errors.
BiteTheBugByte
March 13th, 2001, 04:20
Well, you could install Linux :D
puDDs
March 13th, 2001, 04:41
Originally posted by BiteTheBugByte
Well, you could install Linux :D
You could...but then you'd have to USE Linux :p
Omari
March 13th, 2001, 16:52
you guys don't understand... i want to like run perl scripts through internet explorer without being on the internet...
Semiel
March 13th, 2001, 17:11
To access your local computer the easy way is to use the IP address "127.0.0.1"
So if you want to execute a PERL script locally you will have to type
http:\\127.0.0.1\cgi-bin\yourscript.pl
"cgi-bin" is an alias defined in the configuration of the web server you have installed.
It is often by DEFAULT a sub-directory of the web server installation.
Just put "yourscript.pl" in that directory and it will work.
Want more help,
dont hesitate to ask,
Semiel.
Hobbes
March 13th, 2001, 18:32
I did that when we had a proxy running, and 127.0.0.1 took me to ANOTHER computer on the network! Durnit!~ lol.. it seems to be fixed now..
Powered by vBulletin® Version 4.1.7 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.