http://www.perlmonks.org?node_id=1124651


in reply to Re: DESTROY and AUTOLOAD in 5.20.1
in thread DESTROY and AUTOLOAD in 5.20.1

sub or no sub, that does not matter for these functions, but I should be more consistent in my example. I think the documentation you linked to says that AUTOLOAD will be called if it exists and DESTROY does not and this was the old behavior.