Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Child process inter communication

by tybalt89 (Monsignor)
on Jun 14, 2017 at 01:42 UTC ( [id://1192752]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    print "$who{$pid} exited\n";
    kill 15, keys %who;
    print "$who{$pid} exited\n" while ($pid = wait) > 0;
    
  2. or download this
    2 3 foobar
    
  3. or download this
    1 got 2 3 foobar
    2 got 3 foobar
    3 got foobar
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2024-04-19 04:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found