P is for Practical | |
PerlMonks |
What _should_ DESTROY do?by dokkeldepper (Friar) |
on May 11, 2007 at 12:26 UTC ( [id://614889]=perlquestion: print w/replies, xml ) | Need Help?? |
dokkeldepper has asked for the wisdom of the Perl Monks concerning the following question: Recently I wandered the holy hills of OO with perl (ActivePerl 5.8.8 on Win32) Then a voice hit me:
and I wondered what DESTROY should do? What is the exact purpose of DESTROY? When it should used and when it is useless? And stated in general: Are there guiding principles for the use of DESTROY? Thanks upd: of course tester.pl uses Tester.pm
Back to
Seekers of Perl Wisdom
|
|