in reply to Pipe Complex Data Structure
I’m not sure I understand the problem — especially as you neither show the code you’ve tried nor indicate how it is failing. However...
My code is able to pipe scalars from the child to the parent with no problem
Well, serializing your data structure using Data::Dumper produces a string, which is a scalar, so there should be no difficulty in getting this to work with your existing pipe. But...
these serialized references are unable to be piped
Two possibilities come to mind:
I suspect that a deadlock is the more likely problem. See the referenced post for the solution (viz., run the processes asynchronously). Hope that helps,
Athanasius <°(((>< contra mundum
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Pipe Complex Data Structure
by Anonymous Monk on Sep 06, 2012 at 14:45 UTC |