in reply to Re: Re: passing argv by reference
in thread passing argv by reference
I don't think perl automagically will allow two (or more) processes to read and write to the same memory. The solution? Look into the IPC::Shareable module. It provides routines to tie variables to Shared memory, and lock and unlock access to avoid race conditions.
If I get some time I'll post sample code.