in reply to perl TK: Dynamically changing number of inputs at run time.

To expand a bit on the first part of the first reply, you can define your "push_button" sub like this:
sub push_button { my $celsius = $ent -> get(); my $farienhiet = ($celsius*9/5)+32; my $msg = sprintf( "%s Celsius = %3.1f Fahrenheit\n", $celsius, $f +arienhiet ) $txt -> insert('end', $msg); }
That way, it shows both the input and output values, and doesn't erase any previous information. (But since the information is in an editable Text widget, the user can easily delete lines.)

Replies are listed 'Best First'.