Front page | perl.perl5.porters |
Postings from March 2001
From: Alan Burlison
March 5, 2001 01:05
Message ID: 3AA356A7.firstname.lastname@example.org
Gurusamy Sarathy wrote:
> It is used for closure cloning.
> Every CV that references lexicals from its outer lexical scopes needs
> to be able to access that outer scope's scratchpad at run time (via
> pp_anonsub(), cv_clone2() and pad_findlex()) to capture the lexicals
> that are visible at the time the cloning happens. In fact, all CVs need
> to have this whether they have outer lexicals referenced in them or
> not, given that eval"" requires visibility of the outer lexical scopes.
Pads - *shiver* here be dragons... Anyway, thanks for the explanation.