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