develooper Front page | perl.perl5.porters | Postings from May 2019

[perl #134146] InKana example in perlunicode.pod no longer valid

Thread Previous
From:
J Greely
Date:
May 31, 2019 03:54
Subject:
[perl #134146] InKana example in perlunicode.pod no longer valid
Message ID:
rt-4.0.24-22522-1558945794-1684.134146-75-0@perl.org
# New Ticket Created by  J Greely 
# Please include the string:  [perl #134146]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=134146 >


This is a bug report for perl from perlbug@jgreely.com,
generated with the help of perlbug 1.41 running under perl 5.28.1.


-----------------------------------------------------------------
While upgrading a script from Perl 5.20.2 to 5.28.1, I discovered
that there's now a builtin InKana property, so the example in
perlunicode.pod is ignored if you try to use it. Changing the
name to something other than InKana (or IsKana, which was already
in 5.20.2) works.

Example code:
    perl -e '$_ = "a";/\p{InKana}/'

5.20.2:
Can't find Unicode property definition "InKana" at -e line 1.

5.28.1:
(no output)


[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
    category=docs
    severity=low
---
Site configuration information for perl 5.28.1:

Configured by jgreely at Tue Apr  2 22:39:36 PDT 2019.

Summary of my perl5 (revision 5 version 28 subversion 1) configuration:
   
  Platform:
    osname=darwin
    osvers=18.5.0
    archname=darwin-2level
    uname='darwin helloparty.local 18.5.0 darwin kernel version 18.5.0: mon mar 11 20:40:32 pdt 2019; root:xnu-4903.251.3~3release_x86_64 x86_64 '
    config_args='-de -Dprefix=/Users/Shared/perlbrew/perls/perl-5.28.1 -Aeval:scriptdir=/Users/Shared/perlbrew/perls/perl-5.28.1/bin'
    hint=recommended
    useposix=true
    d_sigaction=define
    useithreads=undef
    usemultiplicity=undef
    use64bitint=define
    use64bitall=define
    uselongdouble=undef
    usemymalloc=n
    default_inc_excludes_dot=define
    bincompat5005=undef
  Compiler:
    cc='cc'
    ccflags ='-fno-common -DPERL_DARWIN -mmacosx-version-min=10.14 -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -DPERL_USE_SAFE_PUTENV'
    optimize='-O3'
    cppflags='-fno-common -DPERL_DARWIN -mmacosx-version-min=10.14 -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
    ccversion=''
    gccversion='4.2.1 Compatible Apple LLVM 10.0.1 (clang-1001.0.46.3)'
    gccosandvers=''
    intsize=4
    longsize=8
    ptrsize=8
    doublesize=8
    byteorder=12345678
    doublekind=3
    d_longlong=define
    longlongsize=8
    d_longdbl=define
    longdblsize=16
    longdblkind=3
    ivtype='long'
    ivsize=8
    nvtype='double'
    nvsize=8
    Off_t='off_t'
    lseeksize=8
    alignbytes=8
    prototype=define
  Linker and Libraries:
    ld='cc'
    ldflags =' -mmacosx-version-min=10.14 -fstack-protector-strong -L/usr/local/lib'
    libpth=/usr/local/lib /Library/Developer/CommandLineTools/usr/lib/clang/10.0.1/lib /Library/Developer/CommandLineTools/usr/lib /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib /usr/lib
    libs=-lpthread -lgdbm -ldbm -ldb -ldl -lm -lutil -lc
    perllibs=-lpthread -ldl -lm -lutil -lc
    libc=
    so=dylib
    useshrplib=false
    libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs
    dlext=bundle
    d_dlsymun=undef
    ccdlflags=' '
    cccdlflags=' '
    lddlflags=' -mmacosx-version-min=10.14 -bundle -undefined dynamic_lookup -L/usr/local/lib -fstack-protector-strong'

Locally applied patches:
    Devel::PatchPerl 1.48

---
@INC for perl 5.28.1:
    /Users/Shared/perlbrew/perls/perl-5.28.1/lib/site_perl/5.28.1/darwin-2level
    /Users/Shared/perlbrew/perls/perl-5.28.1/lib/site_perl/5.28.1
    /Users/Shared/perlbrew/perls/perl-5.28.1/lib/5.28.1/darwin-2level
    /Users/Shared/perlbrew/perls/perl-5.28.1/lib/5.28.1

---
Environment for perl 5.28.1:
    DYLD_LIBRARY_PATH (unset)
    HOME=/Users/jgreely
    LANG=en_US.UTF-8
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=/Users/Shared/perlbrew/bin:/Users/Shared/perlbrew/perls/perl-5.28.1/bin:/Users/jgreely/.pyenv/shims:/Users/jgreely/.pyenv/bin:/Users/jgreely/.rbenv/shims:/Users/jgreely/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/Applications/VMware Fusion.app/Contents/Public:/Library/TeX/texbin:/usr/local/MacGPG2/bin:/usr/local/share/dotnet:/opt/X11/bin:~/.dotnet/tools:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Users/Shared/Go/bin:/usr/local/plan9/bin:.
    PERLBREW_HOME=/Users/jgreely/.perlbrew
    PERLBREW_MANPATH=/Users/Shared/perlbrew/perls/perl-5.28.1/man
    PERLBREW_PATH=/Users/Shared/perlbrew/bin:/Users/Shared/perlbrew/perls/perl-5.28.1/bin
    PERLBREW_PERL=perl-5.28.1
    PERLBREW_ROOT=/Users/Shared/perlbrew
    PERLBREW_SHELLRC_VERSION=0.86
    PERLBREW_VERSION=0.86
    PERL_BADLANG (unset)
    SHELL=/usr/local/bin/bash


Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About