in reply to Using Term::ReadLine in an event loop other than Tk [SOLVED]

I havn't really looked at your code, it's quite complex, but have you seen Term::ReadLine and Tk - Solved? Also, you might try putting your ReadLine loop code into a separate thread

I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh
  • Comment on Re: Using Term::ReadLine in an event loop other than Tk

Replies are listed 'Best First'.
Re^2: Using Term::ReadLine in an event loop other than Tk
by Tanktalus (Canon) on Jan 17, 2012 at 14:49 UTC

    Thanks, zentara - but if you look at the first piece of code in my original node, using TRL with Tk without trying to insert AE loops, that I got to work. I was merely hoping to use AE to catch all the events allowing me to switch event engines transparently.