You do not have some kind of shared memory between these processes, so basicly it won't work.
Possible hacks:
Serialize the data and use a socket.
Dump the data and use a file.
Use threads, references work partially.
--
Jaap Karssenberg || Pardus (Larus)? <pardus@cpan.org>
>>>> Zoidberg: So many memories, so many strange fluids gushing out of patients' bodies.... <<<<