[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] Testing a local CGI script



Folks:

	Pardon me if this is dealt with in the MacPERL book - I'm obviously
not to that part, yet. Here goes:
	I want to (eventually build and...) test a (Mac-)PERL CGI script on
my local hard drive.

1)	What is the mechanism or process to get the Web page to call the
script?  If the Web page contains the usual "<FORM
Action="http://www.domain.com/cgi-bin/script.pl" Method="POST">" tag and
attributes, does this need to be changed for testing purposes to reference
the local path on my hard drive (I would think so.)?

2)	What does the first line of PERL ("/usr/bin/perl" on for UNIX-based
systems) need to be changed to? I thought that I read somewhere in the docs
that it could be just "/perl" and MacPERL would pick it up.

3)	Anybody do this on a regular basis? (besides Chris!  {G})

	TIA


Patrick Beart

-------------------------------------------------------------------
patrick@WebArchitecture.com       503-281-4147      Portland, OR
Web Architecture:   http://www.WebArchitecture.com

* Founding MEMBER *  Internet Professionals Northwest. (www.ipn.org)
* MEMBER * Webmaster's Guild/ Association of Internet Professionals
 -------------------------------------------------------------------



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch