in reply to Tk with threads
Creating new threads inside dispatched closures from within Tk's internals
is probably a very bad idea. Frankly, spawning a thread from *any* closure
is probably a bad idea (threads already have a enough issues with non-determinism).
Perl Contrarian & SQL fanboy
I'd recommend creating a Thread::Queue, then creating a thread (or pool of threads) and using your Button dispatch to forward command/control msgs to the threads.
Perl Contrarian & SQL fanboy
In Section
Seekers of Perl Wisdom