Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

perlfunc:wait

by gods (Initiate)
on Aug 24, 1999 at 22:43 UTC ( [id://312] : perlfunc . print w/replies, xml ) Need Help??

wait

See the current Perl documentation for wait.

Here is our local, out-dated (pre-5.6) version:


wait - wait for any child process to die



wait



Waits for a child process to terminate and returns the pid of the deceased process, or -1 if there are no child processes. The status is returned in $?.