• Howdy! Welcome to our community of more than 130.000 members devoted to web hosting. This is a great place to get special offers from web hosts and post your own requests or ads. To start posting sign up here. Cheers! /Peo, FreeWebSpace.net

Running Perl scipts on windows??

iwod

New Member
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??
 

Omari

New Member
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

New Member
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

New Member
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.
 

Omari

New Member
you guys don't understand... i want to like run perl scripts through internet explorer without being on the internet...
 

Semiel

New Member
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

New Member
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..
 
Top