[Chicago-talk] Sharing data between processes
lembark at wrkhors.com
Wed Jan 21 14:39:34 CST 2004
> What ways can I share an object (or complex data structure) between
> processes? I know I can share simple structures (arrays, hashes, scalars)
> between threads, but I was trying to avoid threads.
(1) Shared memory (on same box).
(2) Message passing (multiple boxes).
In both cases you can use Data::Dumper or Storable (built
into the shared memory modue methinks) to pass the structure
values around between the tasks.
In most cases you're better off with some mechanism for
sending the data values across and having the remote side
populate an object for you with the values.
Steven Lembark 2930 W. Palmer
Workhorse Computing Chicago, IL 60647
+1 888 359 3508
More information about the Chicago-talk