Syntactic Confectionery Delight | |
PerlMonks |
Re: text delete hangs in Perl/Tkby arden (Curate) |
on Jul 01, 2004 at 19:43 UTC ( [id://371222]=note: print w/replies, xml ) | Need Help?? |
Your syntax is correct: "$text->delete("1.0", 'end');". Are you sure that your script is hung or might it just be that the amount of text between your indexes is that large ("several thousand lines with as many as ~1000 characters per line")?
Perhaps if you provided us with the block of code around where you think it is hanging it might help. You could be wrong as to the cause. . . - - arden.
In Section
Seekers of Perl Wisdom
|
|