in reply to Indices and inserts in Tk::Text

Looks like a bug in tk. You might check if there is a newer version available and if not, alert the author. Then either patch or update your version or circumvent the bug.