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]

?  :)

Reply via email to