You are viewing the version of this documentation from Perl blead. This is the main development branch of Perl. (git commit 45acdf5ce2f6a74c710e72b59f4f9b1d051bf14c)
${^CHILD_ERROR_NATIVE}

The native status returned by the last pipe close, backtick (``) command, successful call to wait() or waitpid(), or from the system() operator. On POSIX-like systems this value can be decoded with the WIFEXITED, WEXITSTATUS, WIFSIGNALED, WTERMSIG, WIFSTOPPED, and WSTOPSIG functions provided by the POSIX module.

Under VMS this reflects the actual VMS exit status; i.e. it is the same as $? when the pragma use vmsish 'status' is in effect.

This variable was added in Perl v5.10.0.