in reply to value uninitilized when using Parallel::ForkManager module
when you fork everybody gets their own independent/unrelated/unshared copy of $pwm_count_hash . As each process updates $pwm_count_hash, the others don't see these updates, variables aren't shared like that
See Re: Please Explain the Parallel::ForkManager Idiom my $pid = $pm->start and next;, Mr. Peabody Explains fork()
|
|---|