in reply to Sharing objects between processes

You could probably use Storable to serialise the object and pass it through a pipe, but the idea that you were 'sharing an instance' would only be notional. You would need to ensure that the a serialised instance 'went away' in the process that serialised it and was re-instanciated when it come back.

This is one of those cases where you would be better off having your objects live in a DB and allow it to take care of sharing them for you. This is especially advantageous if your objects can be long lived.


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"When I'm working on a problem, I never think about beauty. I think only how to solve the problem. But when I have finished, if the solution is not beautiful, I know it is wrong." -Richard Buckminster Fuller