Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: DESTROY and AUTOLOAD in 5.20.1

by szabgab (Priest)
on Apr 25, 2015 at 07:08 UTC ( [id://1124651] : note . print w/replies, xml ) Need Help??


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.