I am not sure how to get around that.
Sharing a hash between threads is easy. Not fast; but easy.
Alternatively, if you're scared of threads; consider looking MCE which provides a mechanism for appearing to share data between forks that is pretty transparent to the using code.
In reply to Re^2: Creating a hash within a fork
by BrowserUk
in thread Creating a hash within a fork
by edimusrex
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |