At 07:44 PM 2/14/2001 +0000, Simon Cozens wrote: >On Wed, Feb 14, 2001 at 08:32:41PM +0100, [EMAIL PROTECTED] wrote: > > > DESTROY would get called twice, which is VERY BAD. > > > > *blink* > > It is? Why? > > I grant you it isn't the clearest way of programming, but "VERY BAD"? > >package NuclearReactor::CoolingRod; > >sub new { > Reactor->decrease_core_temperature(); > bless {}, shift >} > >sub DESTROY { > Reactor->increase_core_temperature(); >} Time to snag some bits from the Java license agreement. "...this software is not meant for...aircraft control...nuclear reactors...medical equipment..." Dan --------------------------------------"it's like this"------------------- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk
- Resource Management ? Elizabeth Mattijsen
- Re: Garbage collection (was Re: JWZ on s/... abigail
- Re: Garbage collection (was Re: JWZ o... Branden
- Re: Garbage collection (was Re: ... Damien Neil
- Re: Garbage collection (was Re: JWZ on s/Java/Per... Branden
- Re: Garbage collection (was Re: JWZ on s/Java... James Mastros
- Re: Garbage collection (was Re: JWZ on s/Java/Perl/) Dan Sugalski
- Re: Garbage collection (was Re: JWZ on s/Java/Per... Branden
- Re: Garbage collection (was Re: JWZ on s/Java... abigail
- Re: Garbage collection (was Re: JWZ on s/... Simon Cozens
- Re: Garbage collection (was Re: JWZ o... Dan Sugalski
- Re: Garbage collection (was Re: JWZ o... Damien Neil
- Re: Garbage collection (was Re: ... Simon Cozens
- Re: Garbage collection (was Re: ... Damien Neil
- Re: Garbage collection (was Re: ... Hong Zhang
- Re: Garbage collection (was Re: ... Branden
- Re: Garbage collection (was Re: ... Tim Bunce
- Re: Garbage collection (was Re: ... Branden
- Re: Garbage collection (was Re: ... Uri Guttman
- Re: Garbage collection (was Re: ... Tim Bunce
- Re: Garbage collection (was Re: ... Uri Guttman