"be consistent" | |
PerlMonks |
Re^2: "cleaning out" object databy Forsaken (Friar) |
on May 20, 2005 at 07:41 UTC ( [id://458869]=note: print w/replies, xml ) | Need Help?? |
That was also my first thought, but that: - destroys the object if it isn't referenced elsewhere, or - does absolutely nothing if it is still referenced elsewhere. Basically, as it turns out, all that does is take the variable $self that previously contained a reference to a blessed object, and gives it a new value, a reference to a newly created anonymous hash. So unless $self was the only reference to the object(which it isn't in my specific case) absolutely nothing happens :-) edit: formatting Remember rule one...
In Section
Seekers of Perl Wisdom
|
|