vsespb has asked for the wisdom of the Perl Monks concerning the following question:
Did not find anything in perldelta. Just wondering when this changed and why.$ perlbrew exec --with perl-5.16.1 perl -w -e 'package XX; sub AUTOLOA +D { die }; package main; bless {}, "XX"; ' perl-5.16.1 ========== (in cleanup) Died at -e line 1. $ perlbrew exec --with perl-5.18.1 perl -w -e 'package XX; sub AUTOLOA +D { die }; package main; bless {}, "XX"; ' perl-5.18.1 ========== $ perlbrew exec --with perl-5.18.1 perl -w -e 'package XX; sub DESTROY + { die }; package main; bless {}, "XX"; ' perl-5.18.1 ========== (in cleanup) Died at -e line 1.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Since when AUTOLOAD not longer DESTROYs?
by Corion (Patriarch) on Oct 23, 2015 at 08:36 UTC | |
by vsespb (Chaplain) on Oct 23, 2015 at 08:47 UTC |