in reply to Re: Problems with array references in shared hash values
in thread Problems with array references in shared hash values
my %RESULTS : shared;
.....
foreach (1..$thread_number)
{
push @created_threads, threads->new(\&scan);
}
......
sub scan
{
....
$RESULTS{"id"} = [];
....
}
|
---|
In Section
Seekers of Perl Wisdom