Tk::TextUndo inherits the methods from the Tk::Text widget, so you can use ->insert() to add text to the widget:
... $te2->insert('end', "Mean length:\t" . $stat->mean() . "\n"); +# append line ... ... # $te2->see('end'); # optionally scroll to the end
In reply to Re^13: Perl tk - How to integrate external scripts
by Eliya
in thread Perl tk - How to integrate external scripts
by Giorgio C
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |