summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Cook <tony@develop-help.com>2017-08-31 10:29:36 +1000
committerSteve Hay <steve.m.hay@googlemail.com>2018-03-13 08:22:49 +0000
commit2f28693612b9a084a91ee702f0000e3105094ecb (patch)
treea79afb0689a86fb4ee950aca03f5649c87313c45
parentff4568dea5945cfdf5e2fcc59bee3cb41839ccb4 (diff)
downloadperl-2f28693612b9a084a91ee702f0000e3105094ecb.tar.gz
perldelta for 745e740c825d
and remove an obsolete comment, oops. (cherry picked from commit cb87b182a5dce7fcec9a566d505ef08d0e85c813)
-rw-r--r--pod/perldelta.pod5
-rw-r--r--t/op/magic.t2
2 files changed, 5 insertions, 2 deletions
diff --git a/pod/perldelta.pod b/pod/perldelta.pod
index 3bfa0d4815..b4eb556d1c 100644
--- a/pod/perldelta.pod
+++ b/pod/perldelta.pod
@@ -357,6 +357,11 @@ keyword was followed by whitespace including newlines (and comments.)
The tokenizer now correctly adjusts a parse pointer when skipping
whitespace in a C< ${identifier} > construct. [perl #131949]
+=item *
+
+Accesses to C<${^LAST_FH}> no longer assert after using any of a
+variety of I/O operations on a non-glob. [perl #128263]
+
=back
=head1 Known Problems
diff --git a/t/op/magic.t b/t/op/magic.t
index 36abafb098..02ced156d5 100644
--- a/t/op/magic.t
+++ b/t/op/magic.t
@@ -645,8 +645,6 @@ is ${^LAST_FH}, undef, '${^LAST_FH} is undef when PL_last_in_gv is NULL';
# all of these would set PL_last_in_gv to a non-GV which would
# assert when referenced by the magic for ${^LAST_FH}.
-# Instead it should act like <$0> which NULLs PL_last_in_gv and the magic
-# returns that as undef.
# The approach to fixing this has changed (#128263), but it's still useful
# to check each op.
for my $code ('tell $0', 'sysseek $0, 0, 0', 'seek $0, 0, 0', 'eof $0') {