in reply to Question about POE

Why mess with perfection? Go with what you've got if it works and you don't need anything else.

If you're still curious about POE, see POE's cookbook. It has a few server examples, as well as one or two that spawn worker processes.

By the way, how do you multiplex pipes and SysV message queues?

-- Rocco Caputo - rcaputo@pobox.com - poe.perl.org

Replies are listed 'Best First'.
Re: Re: Question about POE
by SarahM (Monk) on Feb 19, 2004 at 16:36 UTC
    Well, I haven't written it yet. I'm just finishing up the design now. As for multiplesing pipes and SysV messages, I'm planning on using select to handle the pipes (with a timeout), and poll the message queue with the non-blocking bit set.

      I'm happy I didn't overlook some multiplex magic with SysV queues, but I'm also sad that one doesn't exist.

      If you're already familiar with select(), there's a tutorial for select() users that might help you decide if POE's worth your while.

      -- Rocco Caputo - rcaputo@pobox.com - poe.perl.org