in reply to Catching an object going out of scope

I'm puzzled.

If "My::Class" is a factory class for "My::Class:Temps", then "My::Class" creates objects of class "My::Class::Temps" and saves references to them. Did I understand that part correctly?

As a creator of these objects, shouldn't the "My::Class" object know that it's time to "kill" the "My::CLass:Temps" object and simply remove the reference to the object?

f--k the world!!!!
/dev/world has reached maximal mount count, check forced.

  • Comment on Re: Catching an object going out of scope