in reply to Re: Sharing in fork
in thread Sharing in fork

Actually, I dont want to rebuild my perl interpreter, that's why i decided to go with fork. Now, is it possible to get the data shared without installing forks.pm module??

Replies are listed 'Best First'.
Re^3: Sharing in fork
by Corion (Patriarch) on Mar 23, 2010 at 10:09 UTC

    There are lots of ways to communicate between two processes. See perlipc. I prefer to use a database.

    There is no way to actually share data between two processes in Perl. You can try something like MMap if you want to make mostly static data available.