The stupid question is the question not asked | |
PerlMonks |
Re: DESTROYing an objectby adrianh (Chancellor) |
on Dec 11, 2002 at 21:38 UTC ( [id://219182]=note: print w/replies, xml ) | Need Help?? |
It will just call the destroy method and return. For example this: will produce
The first "destroying" comes from the explicit call to the method. The second by the method being called before the object is garbage collected.
In Section
Seekers of Perl Wisdom
|
|