summaryrefslogtreecommitdiff
path: root/pod/perlintern.pod
diff options
context:
space:
mode:
authorPaul Johnson <paul@pjcj.net>2004-02-21 03:31:47 +0100
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2004-02-21 16:18:32 +0000
commit2814eb746a9281fd66cc5c45be3b127463ec07c7 (patch)
tree9450012410210846e803553bfba88446fa14206c /pod/perlintern.pod
parentdb8ddb421f6758f0b11b38073916c1366f5b4515 (diff)
downloadperl-2814eb746a9281fd66cc5c45be3b127463ec07c7.tar.gz
Re: op_seq (was: Freeing code)
Message-ID: <20040221013147.GB6953@pjcj.net> Rework the OP structure to use less space. Remove op_seq (and simulate it in dump.c), replace it by op_opt and op_static, shrink op_type, remove PL_op_seqmax. p4raw-id: //depot/perl@22353
Diffstat (limited to 'pod/perlintern.pod')
-rw-r--r--pod/perlintern.pod6
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