summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-03-09 03:16:07 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-03-09 03:16:07 +0000
commit0244c3a403af2426ac6678d042024bb183ebbfa9 (patch)
tree40a351e091ccd9a2bb3b3161bc86da1768784ce2 /pod
parentdce40276d967c484e2b36928ff656a2f5ac3647a (diff)
downloadperl-0244c3a403af2426ac6678d042024bb183ebbfa9.tar.gz
fix parsing of here documents in C<eval 's/.../<<FOO/e'>
p4raw-id: //depot/perl@3098
Diffstat (limited to 'pod')
-rw-r--r--pod/perldelta.pod15
1 files changed, 15 insertions, 0 deletions
diff --git a/pod/perldelta.pod b/pod/perldelta.pod
index 022fe924ab..49ffc263d4 100644
--- a/pod/perldelta.pod
+++ b/pod/perldelta.pod
@@ -202,6 +202,21 @@ Note that the behavior of:
is unchanged (it continues to leave the file empty).
+=head2 C<eval '...'> improvements
+
+Line numbers (as reflected by caller() and most diagnostics) within
+C<eval '...'> were often incorrect when here documents were involved.
+This has been corrected.
+
+Lexical lookups for variables appearing in C<eval '...'> within
+functions that were themselves called within an C<eval '...'> were
+searching the wrong place for lexicals. They now correctly terminate
+the lexical search at the subroutine call boundary.
+
+Parsing of here documents used to be flawed when they appeared as
+the replacement expression in C<eval 's/.../.../e'>. This has
+been fixed.
+
=head1 Supported Platforms
=over 4