In the standard Perl threads implementation, arrays and hashes are re-initialized when they become shared (with the share()) function. The share() function of forks::shared does not initialize arrays and hashes when they become shared with the share() function.Quoted from the documentation of forks::shared.
In reply to Re^5: forked::shared with hashes?
by choroba
in thread forked::shared with hashes?
by GriffinP
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |