in reply to Re: Re: Object scope and DESTROY
in thread Object scope and DESTROY
Well, that makes it look like it isn't the scope of the surrounding block either, so I'm not sure what scope it has. I suppose you could compare this with what happens when you just do a "my $obj = MyPack->new()" before the last "if".