P is for Practical | |
PerlMonks |
Re: How do I make a destructor?by nite_man (Deacon) |
on Feb 10, 2003 at 08:48 UTC ( [id://234053]=note: print w/replies, xml ) | Need Help?? |
You can create a descructor like this:
But before, you should define a object counter and methods for management it:
In Section
Seekers of Perl Wisdom
|
|