in reply to perl/Tk: How to "release" a button immediately after it's pushed?

What needs to be changed, so the listbox gets filled "live"?

You could add an $lb2->update() in the long running while loop

while (<PIPE>) { chop ($_) ; $lb2 -> insert('end',$_); $lb2->update(); # <--- }

Replies are listed 'Best First'.
Re^2: perl/Tk: How to "release" a button immediately after it's pushed?
by unknown-monk (Novice) on Apr 27, 2010 at 14:49 UTC
    Thank you *very* much! That solved my problem.

    Kind regards,
    unknown-monk