destructor
Perl
A special "method" that is called when an "object" is thinking about destroying itself. A Perl program's DESTROY method doesn't do the actual destruction; Perl just triggers the method in case the "class" wants to do any associated cleanup.