diff options
author | Zefram <zefram@fysh.org> | 2017-12-10 22:23:31 +0000 |
---|---|---|
committer | Zefram <zefram@fysh.org> | 2017-12-10 22:23:31 +0000 |
commit | 3b2fee47cdd823a304d1ec8183060c268f39c6d3 (patch) | |
tree | fa5daca46be9c8959498dd1e37cb270cb2a64a4f /perl.c | |
parent | 0301e899536a22752f40481d8a1d141b7a7dda82 (diff) | |
download | perl-3b2fee47cdd823a304d1ec8183060c268f39c6d3.tar.gz |
remove incorrect doc para about exit from BEGIN
I misinterpreted the behaviour of exit from BEGIN when writing that
paragraph. exit from BEGIN actually does cause perl_parse() to return
normally, but perl_run() wouldn't subsequently do anything.
Diffstat (limited to 'perl.c')
-rw-r--r-- | perl.c | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -1644,13 +1644,6 @@ zero exit code can be augmented with a set bit that will be ignored. In any case, this function is not the correct place to acquire an exit code: one should get that from L</perl_destruct>. -In most cases, if something happens during initialisation and parsing -that causes the Perl interpreter to want to exit, this will cause this -function to return normally with a non-zero return value. Historically, -a call to the Perl built-in function C<exit> from inside a C<BEGIN> -block has been an exception, causing the process to actually exit. -That behaviour may change in the future. - =cut */ |