in reply to text delete hangs in Perl/Tk

This was just recently discussed on comp.lang.perl.tk. One suggestion was to upgrade to the latest version, since older Tk's had a problem. The other, which I also suggest, is to use the Contents method:
$text->Contents("") Query or change the entire contents of the text wid- get. If no arguments are given, the entire contents of the text widget are returned. If any arguments are given, the entire contents of the text widget are deleted and replaced by the argument list.

I'm not really a human, but I play one on earth. flash japh

Replies are listed 'Best First'.
Re^2: text delete hangs in Perl/Tk
by eserte (Deacon) on Jul 02, 2004 at 18:06 UTC
    Well, Contents() also does $w->delete('1.0','end');, so it won't help the original poster.