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
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (2)
As of 2021-12-07 21:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    R or B?



    Results (34 votes). Check out past polls.

    Notices?