develooper Front page | perl.perl5.porters | Postings from May 2002

Re: perl@16433

Thread Previous | Thread Next
From:
Jarkko Hietaniemi
Date:
May 6, 2002 20:19
Subject:
Re: perl@16433
Message ID:
20020507061915.Z31692@alpha.hut.fi
On Mon, May 06, 2002 at 08:01:10PM -0700, Yitzchak Scott-Thoennes wrote:
> In article <20020506175038.P31692@alpha.hut.fi>,
> Jarkko Hietaniemi <jhi@iki.fi> wrote:
> >- IO::Scalar 'inner references' problem [Yitzchak?]
> 
> This isn't an IO::Scalar problem, it's a self-tie problem.  Haven't

Ooops, sorry, forgot to update the detail.

> had a lot of time to look at it, perhaps someone who knows something
> about self-ties could take a look?  The change to the sv_magic call in

Not me, sorry.  All I did back then (AFAICR) was to put in
a stopgap for disabling self-ties until we figure out a solution--
maybe I shouldn't have, since then we seemingly forgot about it.
The simplest change would be to back out the stopgap changes, I think.

> broke self-tied globs (and I think scalars) one way; the change to tie
> the pvio not the pvgv broke self-tied globs another way.  I think the
> fix will lie in adding additional non-refcounted cases to sv_magicext
> but am not sure that will work right for globs.  And I haven't yet
> found the code that handled mg_obj for self-tied objects being Nullsv.

-- 
$jhi++; # http://www.iki.fi/jhi/
        # There is this special biologist word we use for 'stable'.
        # It is 'dead'. -- Jack Cohen

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About