diff options
author | Karl Williamson <public@khwilliamson.com> | 2014-02-20 11:10:39 -0700 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2014-02-20 11:47:05 -0700 |
commit | 850b7ec98b08ce3e7330267f4331f3006ea95551 (patch) | |
tree | a7b7689dca59b74f5243cb8757db46fc43ef1c20 /lib/feature.pm | |
parent | b9f2b68390014b991c227e8c56d3e813584245b9 (diff) | |
download | perl-850b7ec98b08ce3e7330267f4331f3006ea95551.tar.gz |
Change 'semantics' to 'rules'
The term 'semantics' in documentation when applied to character sets is
changed to 'rules' as being a shorter less-jargony synonym in this case.
This was discussed several releases ago, but I didn't get around to it.
Diffstat (limited to 'lib/feature.pm')
-rw-r--r-- | lib/feature.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/feature.pm b/lib/feature.pm index 32dc9300e3..222cdfd8b8 100644 --- a/lib/feature.pm +++ b/lib/feature.pm @@ -5,7 +5,7 @@ package feature; -our $VERSION = '1.35'; +our $VERSION = '1.36'; our %feature = ( fc => 'feature_fc', @@ -141,7 +141,7 @@ This feature is available starting with Perl 5.10. =head2 The 'unicode_strings' feature -C<use feature 'unicode_strings'> tells the compiler to use Unicode semantics +C<use feature 'unicode_strings'> tells the compiler to use Unicode rules in all string operations executed within its scope (unless they are also within the scope of either C<use locale> or C<use bytes>). The same applies to all regular expressions compiled within the scope, even if executed outside @@ -149,7 +149,7 @@ it. It does not change the internal representation of strings, but only how they are interpreted. C<no feature 'unicode_strings'> tells the compiler to use the traditional -Perl semantics wherein the native character set semantics is used unless it is +Perl rules wherein the native character set rules is used unless it is clear to Perl that Unicode is desired. This can lead to some surprises when the behavior suddenly changes. (See L<perlunicode/The "Unicode Bug"> for details.) For this reason, if you are |