running perl on my computer, not web based

They have: 1,587 posts

Joined: Mar 1999

i'd like to be able to test some of my cgi scripts on my computer before i put the on the web.

therefore, where do i download the program to do so?

also, how would i execute the script? doing it web based i just enter the url, but have no clue as to how to do it on my computer.

thanks in advance for any help and/or tips.

------------------
Thumbs up or downs ratings and more on affiliate programs.CLICK 4 CASH

Traffic-Website.com free traffic, affiliate programs, hosting, & domain names.
My Site got hacked, but i'm coming back?

They have: 568 posts

Joined: Nov 1999

They have: 850 posts

Joined: Jul 1999

Perl for Windows can be found at http://www.activestate.com/activeperl

It comes with a debugger so you can debug your scripts before putting them on your website. It also comes with tons of documentation.

You may want to set-up a local webserver (I recommend/use Omnicron httpd, found at [url=http://www.omnicron.ab.ca)]http://www.omnicron.ab.ca)[/url] so that you can test the scripts locally.

------------------
Windmills always turn counter-clockwise. Except for the windmills in Ireland.

[This message has been edited by robp (edited 13 February 2000).]

They have: 122 posts

Joined: Jun 2000

Personally, I feel it's best to test cgi scripts on whatever system you're going to end up using. One very nice benefit of running linux, but that's a side note. you should find out what kind of web server you're hosted on, and try to use either that or an evaluation copy of it so that you can make sure there aren't any obscure problems with it. Perl for windows is great, but nothing beats Perl for whatever system environment you're eventually going to use the script on.

Rob Radez
OSInvestor.com

They have: 334 posts

Joined: Dec 1999

Editing and testing your Perl programs locally is a lot easier than uploading to the server to test. You should definitely install the necessary software to your computer. I'd recommend going with Apache web server and ActivePerl. Both are open-source, free and available for Windows PCs. There are lot of different freeware personal web servers out there, but Apache rules the market and is therefore the best documented. If you go with Xitami or Omnicron or the others it might be hard to get help if you hit a snag, but getting help for the Apache/ActivePerl combo is really easy. Also, Apache is readily and easily compatible with PHP, MySQL and almost anything else you might want to add along the way. Check out http://www.visca.com/clueless/perl_apache_win9x.html

That's a pretty good tutorial for installing and using a local Perl/Apache set-up.

They have: 1,587 posts

Joined: Mar 1999

thx folks ;0

------------------
Thumbs up or downs ratings and more on affiliate programs.CLICK 4 CASH

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.