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.
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|