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();
}
--
diff: usage diff [whatever] etc.
- plan9 has a bad day
- Re: Garbage collection (was Re: JWZ on s/Java/Perl/) Buddha Buck
- Re: Garbage collection (was Re: JWZ on s/Java/Perl/) Branden
- Re: Garbage collection (was Re: JWZ on s/Java/Perl/) Jan Dubois
- Re: Garbage collection (was Re: JWZ on s/Java/Perl/) Dan Sugalski
- Re: Garbage collection (was Re: JWZ on s/Java/Perl/) Bryan C . Warnock
- Re: Garbage collection (was Re: JWZ on s/Java/Perl/) Branden
- Re: Garbage collection (was Re: JWZ on s/Java/Perl/) Branden
- Re: Garbage collection (was Re: JWZ on s/Java/Perl/) Simon Cozens
- Re: Garbage collection (was Re: JWZ on s/Java/Perl/) abigail
- Re: Garbage collection (was Re: JWZ on s/Java/Perl/) Damien Neil
- Re: Garbage collection (was Re: JWZ on s/Java/Perl/) Simon Cozens
- Re: Garbage collection (was Re: JWZ on s/Java/Perl/) Hong Zhang
- Re: Garbage collection (was Re: JWZ on s/Java/Perl/) Branden
- Re: Garbage collection (was Re: JWZ on s/Java/Perl/) Branden
- Re: Garbage collection (was Re: JWZ on s/Java/Perl/) Tim Bunce
