develooper Front page | perl.perl5.porters | Postings from January 2012

Re: [perl #108470] Term::ReadLine should use AE instead of Tk forevent looping

From:
Rocco Caputo
Date:
January 18, 2012 12:52
Subject:
Re: [perl #108470] Term::ReadLine should use AE instead of Tk forevent looping
Message ID:
27BC8003-9842-41CE-AF1D-8B088596B870@pobox.com
On Jan 18, 2012, at 10:39, Nicholas Clark wrote:

> On Wed, Jan 18, 2012 at 07:27:35AM -0700, Darin McBride wrote:
> 
>> The existing API isn't changed, but my answer to that is that AE is both more 
>> modern (not sufficient by itself) and more generic.  The point of AE seems to be 
>> to support any event model you might need, including Tk.
> 
> And more portable?
> 
> Or less portable?
> 
> Given the author in question, and his preferences for how he spends his time
> and where the cost/benefit of work arounds tips, I know which I'm going to
> bet on.


Interoperability requires cooperation from the author, and he's been known to break it for modules he doesn't like.  Ask Paul Evans and/or Matt Trout about this:

https://metacpan.org/source/MLEHMANN/AnyEvent-6.13/lib/AnyEvent.pm#L1396

-- 
Rocco Caputo <rcaputo@pobox.com>




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About