destructor
All > Technology > Programming > Perl
- A special "method" that is called when an "object" is thinking about destroying itself. A Perl program's
DESTROYmethod doesn't do the actual destruction; Perl just triggers the method in case the "class" wants to do any associated cleanup.
Perl - Cite This Source - This Definition - accessor method, class, class method, destroy, dispatch, encapsulation, global destruction, Handler, invocant, invocation, method, static method