Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: Perl Tk nonblocking

by rjbuckley (Novice)
on Nov 30, 2016 at 23:10 UTC ( [id://1176996]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (1)
As of 2024-04-24 14:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found