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

Re: [MacPerl] Running large cgi scripts - advice needed (fwd)



Matthias sent this to me some time ago and it worked like a
dream:

Make two files:  X.cgi and X.pl.

In the X.cgi you have:

#!perl
	require "X.pl";
	exit( 0 );


In the X.pl you put your actual program.


Save the X.cgi file as a CGI script.  The X.pl as plain
text.  Now you can edit your program via BBEdit and so long
as the X.pl doesn't return you won't get any kind of an
error from the X.cgi program.

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