good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
i see thanks i knew tat perl uses ref-counting but now its more clear and i think i can use that ...
i wanted to have some kind of counter which says how many instances of my class there are (therefor the variable $Census) and since some of my intances will die during my programm i thought to do it this way would be a good idea i still wonder if there is a way to do this some kind in sub DESTROY though thanks for the condulence andy was really a good guy ...
---- In reply to Re: (MeowChow) Re: Writing a REAL destructor
by NaSe77
|
|