You tie @dirListing and then go on to fork. I'm not sure that tied variables survive a fork and, in any case, they're not safe to access from more than one child. fork before tie.
In reply to Re: Shared Memory using IPC::Shareable - Can't use an undefined value as an ARRAY reference
by rowdog
in thread Shared Memory using IPC::Shareable - Can't use an undefined value as an ARRAY reference
by mr_p
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |