develooper Front page | perl.perl5.porters | Postings from December 2004

Re: [perl #32967] [PATCH] Re: More B bugs: svref_2object

Thread Previous | Thread Next
From:
Yitzchak Scott-Thoennes
Date:
December 30, 2004 14:50
Subject:
Re: [perl #32967] [PATCH] Re: More B bugs: svref_2object
Message ID:
20041230224950.GA3656@efn.org
On Tue, Dec 28, 2004 at 04:01:49PM -0800, Stephen McCamant wrote:
> However, I think the best solution is "don't do that, then". B is
> intended for looking at the parse tree, which isn't generally in
> danger of going away, rather than for examining transient values. It
> wouldn't be out of the question to change B so that it always
> SvREFCNT_inc'd the SVs it wrapped, but it would be a fairly major
> change, with some tricky aspects (for instance, should it try to hide
> the increased count from the B::SV:REFCNT method?). Trying to
> reference count OPs would be harder, since most of them don't actually
> store a reference count.

So you probably also shouldn't try to do things like:

[http://perlmonks.org/index.pl?node_id=379395]

?  :)

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