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

[perl #108470] Term::ReadLine should use AE instead of Tk for event looping

From:
Father Chrysostomos via RT
Date:
January 17, 2012 22:39
Subject:
[perl #108470] Term::ReadLine should use AE instead of Tk for event looping
Message ID:
rt-3.6.HEAD-14510-1326868752-1620.108470-15-0@perl.org
On Tue Jan 17 20:33:48 2012, dmcbride@cpan.org wrote:
> On Tuesday January 17 2012 1:09:03 PM you wrote:
> > Couldn’t you detect whether Tk is installed without AnyEvent, and 
> fall
> > back to the old code in that case?
> 
> Yes.  I guess the first question is whether anyone with the 
> power/authority to 
> commit a change would be interested in it.  I was providing the patch 
> as much 
> as a possible tactic as to simply check if anyone was interested.

Not being a user of the module, it’s hard for me to say that I’m
interested.  But if you find it helpful, and you think others will,
that’s good enough for me.

Is there any way you can write tests for this, either using a dummy
module or using AE but skipping the tests when it is not installed? 
Otherwise I would feel very uncomfortable committing it, even if I can
prove to myself that the code works.

-- 

Father Chrysostomos


---
via perlbug:  queue: perl5 status: open
https://rt.perl.org:443/rt3/Ticket/Display.html?id=108470



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