X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/0e2d624439937d0a0b92c38516de15baeda77eb7..be2d5e07bdc646a4a2cb112b0bb1df81ccd5c5dd:/pod/perlintern.pod diff --git a/pod/perlintern.pod b/pod/perlintern.pod index 11cd9f6..20eb045 100644 --- a/pod/perlintern.pod +++ b/pod/perlintern.pod @@ -550,10 +550,10 @@ in PL_op->op_targ), wasting a name SV for them doesn't make sense. The SVs in the names AV have their PV being the name of the variable. NV+1..IV inclusive is a range of cop_seq numbers for which the name is valid. For typed lexicals name SV is SVt_PVMG and SvSTASH points at the -type. For C lexicals, the type is SVt_PVGV, and GvSTASH points at the -stash of the associated global (so that duplicate C declarations in the -same package can be detected). SvCUR is sometimes hijacked to -store the generation number during compilation. +type. For C lexicals, the type is also SVt_PVGV, with the MAGIC slot +pointing at the stash of the associated global (so that duplicate C +declarations in the same package can be detected). SvCUR is sometimes +hijacked to store the generation number during compilation. If SvFAKE is set on the name SV then slot in the frame AVs are a REFCNT'ed references to a lexical from "outside". In this case, @@ -635,7 +635,7 @@ Create a new name in the current pad at the specified offset. If C is valid, the name is for a typed lexical; set the name's stash to that value. If C is valid, it's an our lexical, set the name's -GvSTASH to that value +OURSTASH to that value Also, if the name is @.. or %.., create a new array or hash for that slot