in reply to Problems with array references in shared hash values

wouldn't this be easier with a small snippet of code demonstrating the problem (e.g. creating threads, etc.)?

--Bob Niederman, http://bob-n.com
  • Comment on Re: Problems with array references in shared hash values

Replies are listed 'Best First'.
Re: Re: Big problem! Urgently!
by jv (Initiate) on Jul 04, 2003 at 16:15 UTC
    my %RESULTS : shared; ..... foreach (1..$thread_number) { push @created_threads, threads->new(\&scan); } ...... sub scan { .... $RESULTS{"id"} = []; .... }