develooper Front page | perl.perl5.porters | Postings from January 2018

[perl #132748] Apparent typo in script_run docs

Thread Previous
From:
Tom Wyant
Date:
January 20, 2018 21:32
Subject:
[perl #132748] Apparent typo in script_run docs
Message ID:
rt-4.0.24-18404-1516483910-792.132748-75-0@perl.org
# New Ticket Created by  Tom Wyant 
# Please include the string:  [perl #132748]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=132748 >


This is a bug report for perl from wyant@cpan.org,
generated with the help of perlbug 1.41 running under perl 5.27.8.


-----------------------------------------------------------------
[Please describe your issue here]

The documentation for the new regex (+script_run:...) experimental
feature appears to contain typos in a couple places. At least,

    qr/(?script_run: \d+ \b )/x

which appears in pod/perl5278delta.pod and pod/perlre.pod, fails to
compile. Should this be (+script_run:...), as in the other examples in
perlre.pod?

I intend to attach a patch file, derived from commit
3093cd0531d6e17e80fd45b92f37e51f523b16b2, which was blead at the time I
cloned the repository.
[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
    category=docs
    severity=low
---
Site configuration information for perl 5.27.8:

Configured by tom at Sat Jan 20 10:56:58 EST 2018.

Summary of my perl5 (revision 5 version 27 subversion 8) configuration:
   
  Platform:
    osname=darwin
    osvers=17.3.0
    archname=darwin-2level
    uname='darwin samwise.local 17.3.0 darwin kernel version 17.3.0: thu nov 9 18:09:22 pst 2017; root:xnu-4570.31.3~1release_x86_64 x86_64 '
    config_args='-Dprefix=/trw/local/perl/5.27.8 -Dcf_email=wyant@cpan.org -d -Dusedevel -Uversiononly'
    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.13 -fno-strict-aliasing -pipe -fstack-protector-strong -I/opt/local/include -DPERL_USE_SAFE_PUTENV'
    optimize='-O3'
    cppflags='-fno-common -DPERL_DARWIN -mmacosx-version-min=10.13 -fno-strict-aliasing -pipe -fstack-protector-strong -I/opt/local/include'
    ccversion=''
    gccversion='4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.39.2)'
    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.13 -fstack-protector-strong -L/opt/local/lib'
    libpth=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/lib /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib /usr/lib /opt/local/lib
    libs=-lpthread -lgdbm -ldbm -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.13 -bundle -undefined dynamic_lookup -L/opt/local/lib -fstack-protector-strong'


---
@INC for perl 5.27.8:
    /trw/local/perl/5.27.8/lib/site_perl/5.27.8/darwin-2level
    /trw/local/perl/5.27.8/lib/site_perl/5.27.8
    /trw/local/perl/5.27.8/lib/5.27.8/darwin-2level
    /trw/local/perl/5.27.8/lib/5.27.8

---
Environment for perl 5.27.8:
    DYLD_LIBRARY_PATH (unset)
    HOME=/Users/tom
    LANG=en_US.UTF-8
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=/trw/local/perl/5.27.8/bin:/trw/local/lynx/2.8.8-with-ssl/bin:/trw/local/perl6/2015.12/bin:/trw/local/perl6/2015.12/share/perl6/site/bin:/trw/local/simh/3.9-0/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Users/tom/Code/Tools
    PERLDOC=-oMan
    PERLPKGOPT=-noppm
    PERL_BADLANG (unset)
    SHELL=/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