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

[MacPerl-WebCGI] STDOUT with MacHTTP -- Help



I have set up MacHTTP to test CGI scripts offline (via a "fake" connection).
 I have a script that parses a template file and prints results to STDOUT,
which I understand is the UNIX way to do output to a browser.  Indeed, the
script works fine running on my ISP's UNIX server.

The thing is that said script does not print to my browser via MacHTTP
properly.  I assume that the problem is the attempt to print to STDOUT. 
MacHTTP documentation seems to be silent on this point.

Can someone enlighten me as to how to fix the problem?  It does not seem to
be as simple as just changing:

    print *STDOUT $line;

to

    print $line;

I suppose the answer must be obvious, but I am new to MacHTTP and
configuring servers etc.

Thanks a bunch

Peter R. Wiley

==== Want to unsubscribe from this list?
==== Send mail with body "unsubscribe" to macperl-webcgi-request@macperl.org