Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Child process inter communication

by tybalt89 (Monsignor)
on Jun 14, 2017 at 01:42 UTC ( #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? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2023-09-26 20:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?