Re: Which Perl event loop?

[email protected] (Nick Ing-Simmons)
Newsgroups perl.loop
Message-ID <[email protected]>
Joshua N Pritikin <[email protected]> writes:
>On Wed, May 10, 2000 at 12:17:27PM +0100, [email protected] wrote:
>> In the typical way of CPAN, I found not one answer
>> but three!
>> 
>> 	Event-0.01		Graham Barr
>> 	Event-0.76		Joshua N. Pritikin
>> 	EventServer-2.3		Jack Shirazi
>> 
>> Can any of you please advise me on why I might choose one of these
>> over the others?
>
>Note that EventServer hasn't been updated since Feb 96.
>
>> I've been looking on CPAN for an event-handling framework module that
>> will allow me to multiplex network connections _and_ work together
>> with Tk UI events.  
>
>Nik?  Are you listening?  :-)

Listening, yes - doing anththing about it no.

Tk's fileevent can multiplex network connections by itself. That is the 
one form of "fileevent" which more-or-less works on Win32.

Tk800.016+ also have Tk's Event interface hauled out into a separate module
Tk::Event which provides a Tk-ish C level "table of functions" that rest 
of Tk and its extensions use to call into the Event handling.
The intent was to provide a version of Tk::Event (perhaps Event::Tk) which 
did the same thing, but was based on Event rather than massaged C level 
tcl routines. I have no immediate plan to do that as I want to get 
tk8.3 integrated with perl5.6+ to demo UNICODE at perl conference and 
that is looking very tight on its own (I have not really started yet - panic!)

If someone else wants to have a try I am more than willing to give advice
and help with trickier bits. I will/can not change to Event scheme 
in mainstream Tk distribution until Event is table on Win32.

-- 
Nick Ing-Simmons
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.