The part sub {&handler} doesn't look good.
Either use sub { statement } to embed a sub there or \&handler to refer to the sub called handler.
Now try again and tell us if things still go wrong :-)
In reply to Re: Tk events and a server socket
by orkysoft
in thread Tk events and a server socket
by strredwolf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |