diff options
author | Dan Book <grinnz@grinnz.com> | 2022-05-31 15:09:22 -0400 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2022-06-07 08:49:57 -0600 |
commit | dd834db38c17eed742a7adc0c4baad02341dcd03 (patch) | |
tree | 1ec16799be9c2e9845a43b3ccdd91e99c671295c /lib | |
parent | b1e32ab0ffca8d27743905c756b88d5718911aa8 (diff) | |
download | perl-dd834db38c17eed742a7adc0c4baad02341dcd03.tar.gz |
feature - document that use utf8 should probably be used for non-ascii delimiters
Diffstat (limited to 'lib')
-rw-r--r-- | lib/feature.pm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/feature.pm b/lib/feature.pm index 3755e6949c..a024d92d3e 100644 --- a/lib/feature.pm +++ b/lib/feature.pm @@ -5,7 +5,7 @@ package feature; -our $VERSION = '1.73'; +our $VERSION = '1.74'; our %feature = ( fc => 'feature_fc', @@ -469,6 +469,10 @@ This feature enables the use of more paired string delimiters than the traditional four, S<C<< < > >>>, S<C<( )>>, S<C<{ }>>, and S<C<[ ]>>. When this feature is on, for example, you can say S<C<qrE<171>patE<187>>>. +As with any usage of non-ASCII delimiters in a UTF-8-encoded source file, you +will want to ensure the parser will decode the source code from UTF-8 bytes +with a declaration such as C<use utf8>. + This feature is available starting in Perl 5.36. The complete list of accepted paired delimiters as of Unicode 14.0 is: |