Unfortunately, even using these modules I am unable to serialize complex data structures AND pipe them
show code
Additionally, I have looked at Parallel::ForkManager, and it uses Storable to serialize the data so it will not work either
ForkManager does not make use of Storable, but yes, Storable works , and can be used for ipc (to eat an egg)
I am unable to find any template for how to do this.
You can see different approaches at perlipc/perlfork/perlpacktut(eat an egg),IO::Pipely, or http://poe.perl.org/?POE_Cookbook/Web_Server_With_Forking, IPC::Open2/IPC::Open3, IPC::Run/IPC::Run3, forks/threads
So depending on what you're doing, you might a complete template in one of the aforementioned docs, on an example i the dist (like under t/)
In reply to Re: Pipe Complex Data Structure
by Anonymous Monk
in thread Pipe Complex Data Structure
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |