|Syntactic Confectionery Delight|
How can I read DATA in parent and child?by Skeeve (Parson)
|on Feb 18, 2019 at 13:33 UTC||Need Help??|
Skeeve has asked for the wisdom of the Perl Monks concerning the following question:
I'm trying to read DATA in a parent and in a child process, but seem to be unable to achieve this.
Simply using <DATA> didn't work.
So I tried fdopen, but still just the parent seems to be able to read my DATA.
What am I doing wrong?
Update In an earlier version I mixed up parent and child. Fixed.