in reply to Re^2: Using AnyEvent to control an interactive programin thread Using AnyEvent to control an interactive program
So just grab AnyEvent and Expect.pm and a really big vise and squeeze them together :)