From 3ef6ec9001c8089ebaa0aeefdf6fa0839780776a Mon Sep 17 00:00:00 2001 From: Tony Cook Date: Tue, 11 Dec 2012 10:22:35 +1100 Subject: [PATCH] perldelta for 34213185 I considered more detail here, but the discussion in the ticket covers it. --- pod/perldelta.pod | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 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, the readline() function, otherwise known as the C<< <> >> +operator, would read I bytes from the top-most layer. [perl #79960] + +Now, I 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 -- 2.7.4