< Perl Programming < Keywords
The wait keyword
The function wait behaves like wait(2) on UNIX-like systems, returning the PID of the child process deceased, or -1, if there was none. The status of the process can be found in $? and ${^CHILD_ERROR_NATIVE}.
Syntax
wait
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.