I would consider re-architecting this so that the SNMP stuff runs in a different thread or process from the gui. Not only is this natural separation of concerns, but also your gui wouldn't freeze. Moreover, you could then use the gui to interrupt or modify the behavior of the SNMP scan. And it makes it easier to put a different "gui" on it (like a command line interface.) In any case, mixing your gui code with your scanning code is going to make it hard to change either of them.
In reply to Re^2: perl/tk script freezes
by pc88mxer
in thread perl/tk script freezes
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |