On Mon, Mar 06, 2006 at 08:48:51PM +0000, Nick Ing-Simmons wrote: > >I don't see a "good" solution to this. Short of changing > > > >PP(pp_gvsv) > >{ > > dVAR; > > dSP; > > EXTEND(SP,1); > > if (PL_op->op_private & OPpLVAL_INTRO) > > PUSHs(save_scalar(cGVOP_gv)); > > else > > PUSHs(GvSVn(cGVOP_gv)); > > RETURN; > >} > > > >so that we increment the reference count of GvSVn and arrange for that > >reference count to drop later. > > What is "later" here? - would scope exit do i.e. can we jut increment > refcnt and push it to the "temps" stack?
Yes, I think that that "later" would do. I was more concerned that it wouldn't be trivial to spot the specific case we need to guard for, and wouldn't be cheap to do it all the time. Nicholas Clark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]