in reply to Re: Howto capture array/hash back after threaded process
in thread Howto capture array/hash back after threaded process
Also doesn't work. Can you give example of how to use threads::shared? I've read the documentation but couldn't figure out how to take the subroutine in the context.my @array1; push @array1,threads->new(\&funct_array,($par1,$par2,$filename)); print Dumper \@array1;
|
|---|