< Perl Programming < Keywords

The DESTROY keyword

DESTROY is a method that does something when the object is destroyed. This method will always be called by Perl at the appropriate time, unless the method is empty.

Syntax

  DESTROY

See also

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.