in reply to Another Perl/Tk Unix Question

Check out "Tk::bind". It'll go something like this:
$mw->bind( 'Tk::Entry', '<Enter>', \&send_to_shell );
(or it can be called as a method of the specific Entry widget where you want this to happen). I borrowed that line from a Tk "cryptogram" script that I posted here several years ago (it still works): Tk cryptogram (no, not cryptography)