[Gllug] Sharing hash
Robert McKay
robert at mckay.com
Mon Apr 14 13:03:55 UTC 2003
On Mon, 14 Apr 2003, Ian Norton wrote:
> hi everyone,
>
> I will ask this one in the most amusing manner possible,
>
> i have process that i need to fork and a hash that i want to share betwe5Den the children...
>
> this is in perl of course :-) does anyone know of an interface into SHM that
> can deal with complex data like hashes of hashes?
IPC::ShareLite seems to do this.. you just have to freeze/thaw the hash's
before storing them. You could probably rig something similar up using
FreezeThaw or Data::Dumper.
-Robert.
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list