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

Re: [MacPerl] Redirecting I/O in a MacPerl Extension?



At 07.00 1998.03.23, Michael Schuerig wrote:
>I've played around a bit with Mac::AppleEvents and while it appears to
>be possible to do the WS protocol handling entirely in MacPerl I'd
>prefer to write a MacPerl Extension (like Droplet and CGI) that wraps
>around a vanilla perl script. I figured there had to be a way to
>redirect stdin/stdout and had a look at MPCGI.c, but I don't get how it
>works. Can anyone explain this to me?

IIRC, MPCGI.c doesn't redirect anything with stdin/stdout.  It accept Apple
Events from the web server, sends AEs to MacPerl, gets AEs back from
MacPerl, and sends AEs back to the web server.

--
Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
%PGPKey=('B76E72AD',[1024,'0824 090B CE73 CA10  1FF7 7F13 8180 B6B6'])
#==               New Book:  MacPerl: Power and Ease               ==#
#==    Publishing Date: Early 1998. http://www.ptf.com/macperl/    ==#



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