Tk::HistEntry Module Tk::HistEntry implements an entry widget with history. You may use the up and down keys to select older entries (or use the associated listbox). Usage: $top->HistEntry(-textvariable => \$foo, -command => sub { # automatically adds $foo to history print STDERR "Do something with $foo\n"; })->pack; To install, type $ perl Makefile.PL $ make $ make install Testing is done with $ make test Send bug reports, comments and suggestions to Slaven Rezic .