This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Reorder the entry for die, moving discussion of the exit code later.
authorNicholas Clark <nick@ccl4.org>
Mon, 31 May 2010 10:47:04 +0000 (11:47 +0100)
committerNicholas Clark <nick@ccl4.org>
Mon, 31 May 2010 11:14:18 +0000 (12:14 +0100)
commit4c050ad563ece4467b3b083d8efcf2b62ad0b9c5
treebbda42e0da143c7e3d3e67c839eafd82acc35ea2
parent65ab9279784aa811d78b2903b57bc0e7947dec78
Reorder the entry for die, moving discussion of the exit code later.

Change to start with "C<die> raises an exception." and phrase in terms of
handling exceptions, and then how uncaught exceptions result in process exit.
Do not give details of the exit code in the first paragraph. Move this to a
later paragraph, clarify that $! is often unpredictable, and stress that 255
is the last resort exit code.
pod/perlfunc.pod