in reply to Delete the text widget contents using perl_tk

See  *$text*->delete(*index1, *?*index2*?) in the  Tk::Text documentation. Works the same.