in reply to Re^2: Issue with communication of large data between Parent and child using Perl pipes
in thread Issue with communication of large data between Parent and child using Perl pipes

Thanks! ikegami!

open(my $pipe, "$command |") # 2-arg form open(my $pipe, '-|', $command) # 3-arg form
above looks right, this 2 arg form from OP looked weird to me:
$pid=open(PARENT_READ_HANDLE, "-|");
Which as they say is neither fish or fowl (not correct 2-arg or 3 arg). I am still a bit confused as to the OP's intent here. This still appears to be a synchronous app, not client-server. There is a lot of complex stuff that doesn't appear to be necessary.
  • Comment on Re^3: Issue with communication of large data between Parent and child using Perl pipes
  • Select or Download Code