in reply to Perl/Tk Text()

As far as I can tell, you can't do it like that. It's not a big deal for me because you can do something like this:

my $text = $mw->Text()->pack(); $text->delete('0.0', 'end'); # delete all $text->insert('0.0', $value); # insert $value