in reply to perl/tk script freezes

Is there a way for this script to stop freezing??

Maybe.

the problem i ran into is that im usync async calls with snmp and the gui simply freezes, it must be, either by the snmp_dispatcher function or because of the timeout.

Have you tried the debugger to figure out which function is freezing? Even more specifically on which line it's freezing?