In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/3ef6ec9001c8089ebaa0aeefdf6fa0839780776a?hp=01f449739adb09a21772a83e939e5c96152d636c>
- Log ----------------------------------------------------------------- commit 3ef6ec9001c8089ebaa0aeefdf6fa0839780776a Author: Tony Cook <[email protected]> Date: Tue Dec 11 10:22:35 2012 +1100 perldelta for 34213185 I considered more detail here, but the discussion in the ticket covers it. ----------------------------------------------------------------------- Summary of changes: pod/perldelta.pod | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/pod/perldelta.pod b/pod/perldelta.pod index b3996e5..02d94b7 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -37,6 +37,17 @@ L</Selected Bug Fixes> section. =head1 Incompatible Changes +=head2 readline() with C<$/ = \N> now reads N characters, not N bytes + +Previously, when reading from a stream with I/O layers such as +C<encoding>, the readline() function, otherwise known as the C<< <> >> +operator, would read I<N> bytes from the top-most layer. [perl #79960] + +Now, I<N> characters are read instead. + +There is no change in behaviour when reading from streams with no +extra layers, since bytes map exactly to characters. + XXX For a release on a stable branch, this section aspires to be: There are no changes intentionally incompatible with 5.XXX.XXX -- Perl5 Master Repository
