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
above looks right, this 2 arg form from OP looked weird to me:open(my $pipe, "$command |") # 2-arg form open(my $pipe, '-|', $command) # 3-arg form
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.$pid=open(PARENT_READ_HANDLE, "-|");
|
|---|