in reply to Re^4: Problem in row deletion with Tk::Table
in thread Problem in row deletion with Tk::Table

You seem to not define the number of rows for the table, so it defaults to 10. If you call clear, only the first 10 lines are deleted. Add
-rows => 100

to the table constructor parameters and everything works.

BTW, you can chomp @vals and push @rows, \@vals.

لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Replies are listed 'Best First'.
Re^6: Problem in row deletion with Tk::Table
by emilbarton (Scribe) on Aug 30, 2013 at 10:02 UTC
    Thanks for the tips, but regarding the table your solution doesn't help. It behaves exactly the same whether I set rows => 100 or not. Anyway I was only testing within the first 10 rows.
      It works for me. Try upgrading Tk.
      لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ