diff options
Diffstat (limited to 'pod/perlintern.pod')
-rw-r--r-- | pod/perlintern.pod | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pod/perlintern.pod b/pod/perlintern.pod index 9c977a506f..e12c271213 100644 --- a/pod/perlintern.pod +++ b/pod/perlintern.pod @@ -501,6 +501,12 @@ become so if C<my sub foo {}> is implemented.) Note that formats are treated as anon subs, and are cloned each time write is called (if necessary). +The flag SVf_PADSTALE is cleared on lexicals each time the my() is executed, +and set on scope exit. This allows the 'Variable $x is not available' warning +to be generated in evals, such as + + { my $x = 1; sub f { eval '$x'} } f(); + AV * CvPADLIST(CV *cv) =for hackers |