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

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

Thread Previous | Thread Next
Yitzchak Scott-Thoennes
December 30, 2004 14:50
Re: [perl #32967] [PATCH] Re: More B bugs: svref_2object
Message ID:
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:


?  :)

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About