in reply to Re: Perl Tk nonblocking
in thread Perl Tk nonblocking

Thanks Choroba, I tried your code and got the same result as when I attempted fileevent. After inserting the text, the gui freezes. Might be something about my build: Perl 5.022001 Tk 8.4 4.4.0-47-generic GNU/Linux Do you know anything about using pipes to get it done? Thanks, -rjb

Replies are listed 'Best First'.
Re^3: Perl Tk nonblocking
by tybalt89 (Monsignor) on Dec 01, 2016 at 03:14 UTC

    Note that a filehandle may be "readable", but not have a complete line. This may cause a "hang" when reading with angle brackets.