Re: thread hash bug?
[email protected] ("Jerry D. Hedden") Wed, 4 Jun 2008 09:14:59 -0400
| Newsgroups | perl.ithreads |
|---|---|
| Message-ID | <[email protected]> |
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'