![]() |
|
laziness, impatience, and hubris | |
PerlMonks |
Re^2: How can I read DATA in parent and child?by marioroy (Prior) |
on Feb 20, 2019 at 03:05 UTC ( #1230211=note: print w/replies, xml ) | Need Help?? |
Hi karlgoethebier, Update: Ah, the OP wants to read DATA independently. See tybalt89's solution. Update: Currently, the following demos work on Unix platforms with IO::FDPass: automatically loaded by MCE::Shared if present in Perl. The next update to MCE::Shared on CPAN will support reading from the DATA handle without involving IO::FDPass and work on Windows including Cygwin. MCE::Shared works similarly with threads and MCE::Hobo. threads demonstration
MCE::Hobo demonstration
Regards, Mario
In Section
Seekers of Perl Wisdom
|
|