Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

gharris

by gharris (Beadle)
on Jul 06, 2000 at 17:57 UTC ( #21298=user: print w/replies, xml ) Need Help??

System Information:

This is perl, v5.6.0 built for i686-linux

Source:
use strict; use warnings; $SIG{CHLD} = sub { print "caught a falling star...\n"; wait(); }; my ($child); if ( $child = fork ) { print "parent of $child, waiting for child...\n"; wait(); } else { exit; }

Output:

parent of 29639, waiting for child...
parent of 29639, waiting for child...
caught a falling star...

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the shadows deepen...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2017-04-29 12:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (531 votes). Check out past polls.