=over =item wait X Behaves like L on your system: it waits for a child process to terminate and returns the pid of the deceased process, or C<-1> if there are no child processes. The status is returned in L|perlvar/$?> and L|perlvar/${^CHILD_ERROR_NATIVE}>. Note that a return value of C<-1> could mean that child processes are being automatically reaped, as described in L. If you use L|/wait> in your handler for L|perlvar/%SIG>, it may accidentally wait for the child created by L|/qxESTRINGE> or L|/system LIST>. See L for details. Portability issues: L. =back