diff options
author | Tony Cook <tony@develop-help.com> | 2022-08-31 11:02:24 +1000 |
---|---|---|
committer | Tony Cook <tony@develop-help.com> | 2022-08-31 11:02:24 +1000 |
commit | b885e42dc2078e29df142cfcefaa86725199d15b (patch) | |
tree | 13c2b3d791d1c2559b7658b516ad2936798ca4b1 | |
parent | 0b602161d2f4c5e6b22144e9f8b9f8128a35f440 (diff) | |
download | perl-b885e42dc2078e29df142cfcefaa86725199d15b.tar.gz |
perldelta for 0b602161d2f4, 80c1f1e45e8e
-rw-r--r-- | pod/perldelta.pod | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/pod/perldelta.pod b/pod/perldelta.pod index 9986c53c79..e4da06637c 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -45,6 +45,21 @@ XXX For a release on a stable branch, this section aspires to be: [ List each incompatible change as a =head2 entry ] +=head2 readline() no longer clears the stream error flag + +C<readline()>, also spelled C<< <> >>, would clear the handle's error +flag after an error occurred on the stream. + +The error flag is now only cleared when an error occurs when reading +from the child process for glob() in F<miniperl>. This allows it to +correctly report errors from the child process on close(). + +Since the error flag is no longer cleared calling close() on the +stream may fail and if the stream was not explicitly closed, the +implicit close of the stream may produce a warning. + +[github #20060] + =head1 Deprecations XXX Any deprecated features, syntax, modules etc. should be listed here. |