Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Term::ReadLine::Perl5 and Term::ReadLine::Event (Was Re^2: RFC: Term::ReadKey Availability and requiring it in Term::ReadLine::Perl5)

by Tanktalus (Canon)
on Dec 04, 2013 at 18:39 UTC ( #1065629=note: print w/ replies, xml ) Need Help??


in reply to Term::ReadLine::Perl5 and Term::ReadLine::Event (Was Re^2: RFC: Term::ReadKey Availability and requiring it in Term::ReadLine::Perl5)
in thread RFC: Term::ReadKey Availability and requiring it in Term::ReadLine::Perl5

The basic question is: are you event-friendly? There are examples in TRLE that show how to use TRL with those event handlers. You can use these examples and modify them to use your TRL class (export PERL_RL=Perl5 is probably sufficient) and see that they continue to work. The select.pl example doesn't require any other event modules, so might be the easiest to start with, but if you have any of the other event models installed, you can try them as well. The events work somewhat with Term::ReadLine, and work better with ::Perl and ::Gnu, I'm just curious as to whether they work with ::Perl5 :)


Comment on Re: Term::ReadLine::Perl5 and Term::ReadLine::Event (Was Re^2: RFC: Term::ReadKey Availability and requiring it in Term::ReadLine::Perl5)
Download Code
Re^2: Term::ReadLine::Perl5 and Term::ReadLine::Event (Was Re^2: RFC: Term::ReadKey Availability and requiring it in Term::ReadLine::Perl5)
by rockyb (Beadle) on Dec 04, 2013 at 23:37 UTC
    The basic question is: are you event-friendly?
    Probably as friendly as Term::ReadLine::Perl, since this a fork of that code. But one can't be certain until someone tries it.

    You brought this up which suggests you have interest in the answer. If it's not worth your while (or someone else's) to dig deeper, then I'm perfectly happy to leave things the way they are and go with the arm-chair answer given at the beginning of the last paragraph.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1065629]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (14)
As of 2014-10-30 13:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (208 votes), past polls