develooper Front page | perl.perl5.porters | Postings from October 2014

Re: Shared padlists

Thread Previous | Thread Next
From:
Father Chrysostomos
Date:
October 28, 2014 15:30
Subject:
Re: Shared padlists
Message ID:
20141028153040.4828.qmail@lists-nntp.develooper.com
Dave Mitchell asked:
> Also, is a boolean flag in the pad sufficient, or would you need a
> counter, to handle recursion? Perhaps CvDEPTH should just be moved into
> the pad?

I thought of the latter at first, but the sub would need to know
whether the CvDEPTH applies to it.  So I thought of putting CvDEPTH in
both, but realised that one copy of it only needed to be a boolean.  A
new flag in CvFLAGS would also work.


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