Can someone explain how I can successfully establish a connection between processes? I find that perldoc on IPC is confusing.
What I still have is:
$| = 1; $SIG{CHLD} = {wait}; my $parentPid = $$; if ($pid = fork();) ) { if ($pid == 0) { pipe($parentPid, $$); open PARENT, "<$parentPid"; while (<PARENT>) { print $_; } close PARENT; exit(); } else { pipe($parentPid, $pid); open CHILD, ">$pid"; or error("\nError opening: childPid\nRef: $!\n"); open (FH, "<list") or error("\nError opening: list\nRef: $!\n"); while(<FH>) { print CHILD, $_; } close FH or error("\nError closing: list\nRef: $!\n"); close CHILD or error("\nError closing: childPid\nRef: $!\n); } else { error("\nError forking\nRef: $!\n"); }
First: what does perldoc pipe mean under READHANDLE , WRITEHANDLE ?
The second one. Can I implement the solution without relying on CPAN or other modules?

(source: wellho.net )
user295190
source share