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

Re: [MacPerl] Converting From Unix to Mac



On Wed, 11 Feb 1998, Ryan Graham wrote:

> Hi,
>  I was contracted to write some perl cgi scripts for a web design firm. I
> wrote them on my unix ISP and then they tell me its going to run on a Mac
> Server. Doh! 
>  I've just used form gathering functions, reading files for input & output,
> and sending HTML back to the client. Are there going to be major code
> issues? Is there some specific I should be aware of? Will I still be able
> to use my cgi-lib.cgi file? Any help or pointers to good documentation
> would be greatly apprciated, thanks.

Well. Don't use $ENV{'PATHINFO'}. Don't try to open files like
"../dir/file.txt". Those two are what I had most trouble with.
Furthermore, it would seem as if CGI is better than ACGI if you plan on
having more than, say, 10, CGIes running at a time. ACGI locked ca 70% of
the servers i tested... (different machines, different server software...)

-Johan
--
Johan Almqvist                          johana@netch.se
Netch Techonolgies AB                   046-270 16 00 (vx)
Programmerare                           070-697 699 8



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