Scarborough has asked for the wisdom of the Perl Monks concerning the following question:
I have referred to Perl in a Nutshell and found that I should be able to do this
$text->delete(0, 'end'); #$text being a Text object
But all I get is a Tk error message saying "0" is a bad index.
Anyone know whats happening here?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Tk text delete invalid index
by Ven'Tatsu (Deacon) on Oct 01, 2004 at 16:13 UTC | |
|
Re: Tk text delete invalid index
by Grygonos (Chaplain) on Oct 01, 2004 at 16:23 UTC | |
by Ven'Tatsu (Deacon) on Oct 01, 2004 at 18:02 UTC |