Wong, Danny H. wrote: > I'm trying to created a hash of array inside a thread, but the hash > loses all its keys/values when leaving the function. Is there a bug in > using a hash inside a thread? Any ideas?
1. use strict; 2. use warnings; 3. Read 'perldoc threads::shared'