in reply to about destructor

There's a typo ....

Shouldn't

sub DESTORY { my $self = shift; warn "DESTORYING $self"; }
be
sub DESTROY { my $self = shift; warn "DESTROYING $self"; }
?

Dodge This!

Replies are listed 'Best First'.
Re^2: about destructor
by revdiablo (Prior) on Oct 24, 2005 at 16:43 UTC

    Kinda makes me wonder what de-storying an object really does, though.

Re^2: about destructor
by japhy (Canon) on Oct 24, 2005 at 16:15 UTC