This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
revise advice about DESTROY
authorZefram <zefram@fysh.org>
Wed, 13 Dec 2017 03:50:01 +0000 (03:50 +0000)
committerZefram <zefram@fysh.org>
Wed, 13 Dec 2017 03:50:01 +0000 (03:50 +0000)
commitaddf67e13a08f45d3bb4c245c821b1ef2767c5a5
tree47429cf0b07a6d637d20e15d1df8a3e68765b5cf
parent5069e5776432678375e6753013c91c25610dd9dc
revise advice about DESTROY

perlobj advised that a DESTROY method dying could clobber $@ for an
exception being thrown, which is no longer true since 5.14.  Remove that
caveat, and fix the description of what happens when a DESTROY method
dies.  Revise the related advice about localising global status variables,
including a list of all affected variables.  Fixes [perl #121761] and
[perl #122753].
pod/perlobj.pod