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

Re: Shared padlists

Thread Previous | Thread Next
Father Chrysostomos
October 28, 2014 15:30
Re: Shared padlists
Message ID:
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 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About