Wise Monks,
How does one pipe a complex data structure (specifically an array of hashes) from a child process to a parent process? My code is able to pipe scalars from the child to the parent with no problem; furthermore, using Storage or Data::Dumper I can pipe arrays. Unfortunately, even using these modules I am unable to serialize complex data structures AND pipe them. A few notes: Storable and Data::Dumper can serialize complex data structures, but these serialized references are unable to be piped. Additionally, I have looked at Parallel::ForkManager, and it uses Storable to serialize the data so it will not work either. I am unable to find any template for how to do this.
Thank you Monks for all your help.
Scott
In reply to Pipe Complex Data Structure by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |