Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: interprocess communication

by morgon (Deacon)
on May 15, 2014 at 15:23 UTC ( #1086163=note: print w/ replies, xml ) Need Help??


in reply to interprocess communication

I don't have time to run your code, but there is at least one thing you do wrong:

Your parent-process uses the angle-operator to read from the pipe which means it looks for newlines. Your child however does not supply newlines.

So try

print WRITE "$val2\n";
in your child.


Comment on Re: interprocess communication
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1086163]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2015-07-05 14:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (67 votes), past polls