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.
In reply to Re: Sharing objects between processes
by BrowserUk
in thread Sharing objects between processes
by Marcello
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |