testing perl on a pc!!

They have: 5,633 posts

Joined: Jan 1970

i have a pc, and i would like to test certain scripts i have on my computer before i connect to the internet and upload them to my cgi bin, how could i do this?

------------------
This Site is For Webmasters Only!!

[email protected]

They have: 103 posts

Joined: Apr 1999

I am assuming that you're talking about testing it on the Windows OS. First, get ActivePerl from http://activestate.com . If the scripts you are testing are CGI scripts (like you said), then you'll need a webserver. A nice, easy and compatible one that I recommend is Xitami, http://xitami.com . Good luck!

------------------

Gil Hildebrand, Jr.
Internet Consultant
New Orleans, LA

They have: 5,633 posts

Joined: Jan 1970

anything else i need to do to my computer or to my scripts?

------------------
This Site is For Webmasters Only!!

[email protected]

They have: 103 posts

Joined: Apr 1999

Well if you're using that server the only other thing you will need to do is register the file extensions ".cgi" and ".pl" to ActivePerl. The install might do this for you, but it's good to check. This way you won't need to worry about changing the compiler line (#!/usr/local/bin/perl or something like that). If for some reason you didn't like Xitami, another good one, Website Pro, is available at http://website.oreilly.com .

------------------
Gil Hildebrand, Jr.
The Web Development Genius of the 21st Century
Boardzilla Programmer

Gil Hildebrand, Jr.
Internet Consultant
New Orleans, LA

They have: 850 posts

Joined: Jul 1999

Another good, easy to work Windows server is OmniHttpd. Check out http://www.omnicron.ab.ca
for more info

------------------
A 'jiffy' is an actual unit of time for 1/100th of a second.

[This message has been edited by robp (edited 15 December 1999).]

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.