From 20fe8d149627b687609b37ea5a47ae422b51f0c4 Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Sat, 30 May 2015 10:08:52 -0600 Subject: perldelta: Use American instead of UK spelling --- pod/perldelta.pod | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/pod/perldelta.pod b/pod/perldelta.pod index 2c703753b7..575d4bc40e 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -389,7 +389,7 @@ deprecation warnings since then. The C<*> character in a subroutine's prototype used to allow barewords to take precedence over most, but not all, subroutine names. It was never -consistent and exhibited buggy behaviour. +consistent and exhibited buggy behavior. Now it has been changed, so subroutines always take precedence over barewords, which brings it into conformity with similarly prototyped built-in functions: @@ -426,7 +426,7 @@ utf8>>, and affects just the C1 controls (code points 0x80 through In many cases Perl makes S> into an inlinable constant subroutine, capturing the value of C<$var> at the time the C expression -is evaluated. This can break the closure behaviour in those cases where +is evaluated. This can break the closure behavior in those cases where C<$var> is subsequently modified, since the subroutine won't return the changed value. (Note that this all only applies to anonymous subroutines with an empty prototype (S>).) @@ -463,7 +463,7 @@ declaration is enough for Perl to find it suspicious. This deprecation warning happens only for a simple variable for the body of the sub. (A C block or C statement inside the sub is ignored, because it does not become part of the sub's body.) For more complex -cases, such as S> the behaviour has +cases, such as S> the behavior has changed such that inlining does not happen if the variable is modifiable elsewhere. Such cases should be rare. @@ -717,7 +717,7 @@ contains a C block. [perl #115066] Parenthesised arrays in lists passed to C<\> are now correctly deparsed with parentheses (I, C<\(@a, (@b), @c)> now retains the parentheses -around @b), this preserving the flattening behaviour of referenced +around @b), thus preserving the flattening behavior of referenced parenthesised arrays. Formerly, it only worked for one array: C<\(@a)>. C is now deparsed correctly, with the C included. @@ -843,7 +843,7 @@ in packages other than the caller. L has been upgraded to version 2.11. -Add support for C and introduce workaround for a misbehaviour +Add support for C and introduce workaround for a misbehavior seen on Strawberry Perl 5.20.1. Fix C after building dependencies bug. @@ -1119,7 +1119,7 @@ and is supported as a parameter C. L has been upgraded to version 1.18. -The XSUB implementation has been removed in favour of pure Perl. +The XSUB implementation has been removed in favor of pure Perl. =item * @@ -1152,7 +1152,7 @@ This module now works on EBCDIC platforms. L has been upgraded to version 1.17 A mismatch between the documentation and the code in C -was fixed in favour of the documentation. The optional second argument +was fixed in favor of the documentation. The optional second argument is now correctly treated as a perl boolean (true/false semantics) and not as an integer. @@ -2270,7 +2270,7 @@ when it is actually a lexical sub that will not stay shared. L%sE|perldiag/"Variable length lookbehind not implemented in regex m/%s/"> The L entry for this warning has had information about Unicode -behaviour added. +behavior added. =back @@ -3276,7 +3276,7 @@ C<$_>. =item * C<(...) x ...> in scalar context used to corrupt the stack if one operand -was an object with "x" overloading, causing erratic behaviour. +was an object with "x" overloading, causing erratic behavior. L<[perl #121827]|https://rt.perl.org/Ticket/Display.html?id=121827>. =item * @@ -3649,7 +3649,7 @@ whose value contained Latin-1 characters. Locking and unlocking values via L or C no longer has any effect on values that were read-only to begin with. Previously, unlocking such values could result in crashes, hangs or -other erratic behaviour. +other erratic behavior. =item * @@ -3793,7 +3793,7 @@ global variable even with a lexical variable in scope. In perl 5.20.0, C where 'fake' is anything other than a keyword, started chopping off the last 6 characters and treating the result -as a sort sub name. The previous behaviour of treating C as a +as a sort sub name. The previous behavior of treating C as a sort sub name has been restored. L<[perl #123410]|https://rt.perl.org/Ticket/Display.html?id=123410>. -- cgit v1.2.1