Perl Programming/Keywords/DESTROY

Previous: delete Keywords Next: die

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

Previous: delete Keywords Next: die
Category:Book:Perl Programming#Keywords/DESTROY%20
Category:Book:Perl Programming