in reply to Tab Key in Perl/Tk

Your latest line  $mw->bind($keypress=>\&$action); not reached until you exit your GUI, because MainLoop loops until you exit.

Also use <code> tags to quote your program code.

Best regards,
Courage, the Cowardly Dog

Replies are listed 'Best First'.
Re^2: Tab Key in Perl/Tk
by Juthware (Novice) on Feb 26, 2005 at 07:56 UTC

    I've added the code tags - thanks for pointing that out.

    The line you complained about was in a subroutine in the actual code so it's OK. Sorry for not making that clear with my cut and paste.