diff options
author | Tony Cook <tony@develop-help.com> | 2012-12-11 10:22:35 +1100 |
---|---|---|
committer | Tony Cook <tony@develop-help.com> | 2012-12-11 10:22:35 +1100 |
commit | 3ef6ec9001c8089ebaa0aeefdf6fa0839780776a (patch) | |
tree | f3ef3311c7ee638f326bbdd5dc9119d3960e6e47 /pod | |
parent | 01f449739adb09a21772a83e939e5c96152d636c (diff) | |
download | perl-3ef6ec9001c8089ebaa0aeefdf6fa0839780776a.tar.gz |
perldelta for 34213185
I considered more detail here, but the discussion in the ticket
covers it.
Diffstat (limited to 'pod')
-rw-r--r-- | pod/perldelta.pod | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/pod/perldelta.pod b/pod/perldelta.pod index b3996e5efc..02d94b7a87 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 |