Adam Stern asked (and Jeff Lowrey replied)...

>>I'd like some code examples, or at least a huge hint.  Thank you very
>>much.
>
>Sounds like you want to do more than one thing at the same time.
>You're going to have a hard time doing that within MacPerl, since
>MacPerl is not multi-threaded nor multi-tasking (no fork, for
>example).  This is the same problem that MacPerl faces in a CGI
>environment, so you might review the archives to find out what the
>current recommendations are for using MacPerl with a web server.

The most humongous hint that I can offer is a beautifully written book by
Lincoln Stein:

Network Programming with Perl  (Addison Wesley)

Worth every cent, and as MacPerl friendly as it could possibly be given the
constraints Jeff mentioned above. In particular it offers some nice example
code for using MacPerl/any_other_perl as a non-blocking multiplexing server,
which might be just what you need.

Cheers,
         Paul

Reply via email to