diff options
author | Father Chrysostomos <sprout@cpan.org> | 2010-12-01 14:44:01 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2010-12-01 14:44:42 -0800 |
commit | 60275626fd188140155d5af48278ea124efa392f (patch) | |
tree | 487072c6b286764459a5472c9908af144c280aec /pod | |
parent | 11f2b7f3ad91593a216b1ffc2e2f9e3c721756d0 (diff) | |
download | perl-60275626fd188140155d5af48278ea124efa392f.tar.gz |
[perl #64792] Document $? in perlfunc/exit
Diffstat (limited to 'pod')
-rw-r--r-- | pod/perlfunc.pod | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index 6a498bcfcd..bf5224f906 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -1865,7 +1865,8 @@ which can be trapped by an C<eval>. The exit() function does not always exit immediately. It calls any defined C<END> routines first, but these C<END> routines may not themselves abort the exit. Likewise any object destructors that need to -be called are called before the real exit. If this is a problem, you +be called are called before the real exit. C<END> routines and destructors +can change the exit status by modifying C<$?>. If this is a problem, you can call C<POSIX:_exit($status)> to avoid END and destructor processing. See L<perlmod> for details. |