diff options
author | Gisle Aas <gisle@aas.no> | 2005-05-18 01:35:47 -0700 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2005-05-18 16:08:30 +0000 |
commit | e5218da503dbb4980410e0018f4cc5dcba3ea666 (patch) | |
tree | 896f8cf586a22fa6f98384571dea2ba73b133df3 /pod/perlport.pod | |
parent | 6b09c1601036c61459334bdedef5d7e29e07fcaf (diff) | |
download | perl-e5218da503dbb4980410e0018f4cc5dcba3ea666.tar.gz |
Well defined $? and introduction of ${^CHILD_ERROR_NATIVE} [PATCH]
Message-ID: <lr8y2cim24.fsf_-_@caliper.activestate.com>
p4raw-id: //depot/perl@24501
Diffstat (limited to 'pod/perlport.pod')
-rw-r--r-- | pod/perlport.pod | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/pod/perlport.pod b/pod/perlport.pod index e250ea183b..36a87050ba 100644 --- a/pod/perlport.pod +++ b/pod/perlport.pod @@ -1942,16 +1942,6 @@ OS>, OS/390, VM/ESA) =item system -In general, do not assume the UNIX/POSIX semantics that you can shift -C<$?> right by eight to get the exit value, or that C<$? & 127> -would give you the number of the signal that terminated the program, -or that C<$? & 128> would test true if the program was terminated by a -coredump. Instead, use the POSIX W*() interfaces: for example, use -WIFEXITED($?) and WEXITVALUE($?) to test for a normal exit and the exit -value, WIFSIGNALED($?) and WTERMSIG($?) for a signal exit and the -signal. Core dumping is not a portable concept, so there's no portable -way to test for that. - Only implemented if ToolServer is installed. (S<Mac OS>) As an optimization, may not call the command shell specified in |