In reply to This is so exactly what I need by forrest in thread setting up non-gui callbacks in Perl/Tk by forrest