in reply to Re: Clearing anonymous Tk widgets
in thread Clearing anonymous Tk widgets
I did consider that but I don't know the name of $goner in advance. There might be one line in the input file or there might be 50.
So what I'm trying to achieve is a loop scanning all lines in the input file (they are loaded into a hash by XML::Simple) then building an entry in a Tk GUI window for each line. There are three columns: keyword (as a read only Label), value (r/w as an Entry) and a delete button. The delete button should do two things: remove the entry from the hash with key=keyword and remove (destroy?) the row in the GUI window.