Recently I wandered the holy hills of OO with perl (ActivePerl 5.8.8 on Win32) Then a voice hit me:
(in cleanup) No such method: Tester::DESTROY at D:\Ebooks\Perl\tester. +pl line 0
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.pmIn reply to What _should_ DESTROY do? by dokkeldepper
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |