in reply to Processing STDOUT of a called perl script during execution

In addition to what moritz said, you also need to explicitly call $main->update(); after inserting the text in the text box within your while loop.

Replies are listed 'Best First'.
Re^2: Processing STDOUT of a called perl script during execution
by shmem (Chancellor) on Mar 10, 2008 at 16:20 UTC
    update: Scratch that... ;-) Except that $main->update() just queues another Tk event, which will be handled after exiting the sub...

      If so, why does it update then (before exiting the while loop and the handler) if you $main->update, and not if you don't?