develooper Front page | perl.perl5.porters | Postings from February 2015

[perl #123820] documentation error in perlrecharclass

Thread Next
February 14, 2015 06:21
[perl #123820] documentation error in perlrecharclass
Message ID:
# New Ticket Created by   
# Please include the string:  [perl #123820]
# in the subject line of all future correspondence about this issue. 
# <URL: >

This is a bug report for perl from,
generated with the help of perlbug 1.39 running under perl 5.18.2.

The "perlrecharclass" documentation -- both that shipped with perl 5.18.2
and that appearing at --
contains an error.

It claims that the regular expression /[[]]/ "contains a character
class containing just ], and the character class is followed by a ]".
This does not appear to be an accurate description of this regular
expression: the leading character class appears to contain just [.

[Please do not change anything below this line]
Site configuration information for perl 5.18.2:

Configured by Gentoo at Fri Oct 17 16:54:59 CDT 2014.

Summary of my perl5 (revision 5 version 18 subversion 2) configuration:
    osname=linux, osvers=3.12.13-gentoo-3.12.13-custom,
    uname='linux evo 3.12.13-gentoo-3.12.13-custom #3 smp sat jul 12
18:05:24 cdt 2014 i686 intel(r) pentium(r) 4 cpu 1.70ghz genuineintel
gnulinux '
    config_args='-des -Duseshrplib -Darchname=i686-linux
-Dcc=i686-pc-linux-gnu-gcc -Doptimize=-O2 -march=native -pipe
-Dldflags=-Wl,-O1 -Wl,--as-needed -Dprefix=/usr -Dinstallprefix=/usr
-Dsiteprefix=/usr/local -Dvendorprefix=/usr -Dscriptdir=/usr/bin
-Dprivlib=/usr/lib/perl5/5.18.2 -Darchlib=/usr/lib/perl5/5.18.2/i686-linux
-Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3
-Dsiteman1dir=/usr/local/man/man1 -Dsiteman3dir=/usr/local/man/man3
-Dvendorman1dir=/usr/share/man/man1 -Dvendorman3dir=/usr/share/man/man3
-Dman1ext=1 -Dman3ext=3pm
-Dlocincpth=/usr/include  -Dglibpth=/lib /usr/lib  -Duselargefiles
-Dd_semctl_semun -Dcf_by=Gentoo -Dmyhostname=localhost
-Dperladmin=root@localhost -Dinstallusrbinperl=n -Ud_csh -Uusenm -Di_ndbm
-Di_gdbm -Di_db -DDEBUGGING=none -Dinc_version_list=5.18.0/i686-linux
5.18.0 5.18.1/i686-linux 5.18.1  -Dnoextensions=ODBM_File'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=undef, usemultiplicity=undef
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=undef, use64bitall=undef, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
    cc='i686-pc-linux-gnu-gcc', ccflags ='-fno-strict-aliasing -pipe
    optimize='-O2 -march=native -pipe',
    cppflags='-fno-strict-aliasing -pipe'
    ccversion='', gccversion='4.7.3', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='i686-pc-linux-gnu-gcc', ldflags ='-Wl,-O1 -Wl,--as-needed'
    libpth=/lib/../lib /usr/lib/../lib /lib /usr/lib
    libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc -lgdbm_compat
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
    libc=/lib/, so=so, useshrplib=true,
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fPIC', lddlflags='-shared -O2 -march=native -pipe
-Wl,-O1 -Wl,--as-needed'

Locally applied patches:
    gentoo/EUMM-RUNPATH -
cpan/ExtUtils-MakeMaker: drop $PORTAGE_TMPDIR from LD_RUN_PATH
    gentoo/EUMM_delete_packlist - Don't install .packlist or perllocal.pod
for perl or vendor
    gentoo/config_over - Remove -rpath and append LDFLAGS to lddlflags
    gentoo/cpan_definstalldirs - Provide a sensible INSTALLDIRS default
for modules installed from CPAN.
    gentoo/cpanplus_definstalldirs - Configure CPANPLUS to use the site
directories by default.
    gentoo/create_libperl_soname - Set
libperl soname
    gentoo/drop_fstack_protector - Don't
force -fstack-protector on everyone.
    gentoo/enc2xs - Tweak enc2xs to follow symlinks and ignore missing
@INC directories.
    gentoo/mod_paths - Add /etc/perl to @INC
    gentoo/patchlevel - List packaged patches for perl-5.18.2-r2(#2)
in patchlevel.h
    gentoo/aix_soname - aix gcc detection and shared library soname
    gentoo/opensolars_headers - Add headers for opensolaris
    gentoo/cleanup-paths - Cleanup PATH and shrpenv
    gentoo/usr_local - Remove /usr/local paths
    gentoo/hints_hpux - Fix hpux hints
    gentoo/darwin-cc-ld - darwin: Use
$CC to link
    gentoo/interix - Fix interix hints
    fixes/net_smtp_docs - [ #36038] Document the Net::SMTP
'Port' option
    debian/cpan-missing-site-dirs - Fix CPAN::FirstTime defaults with
nonexisting site dirs if a parent is writable
    fixes/memoize_storable_nstore - [ #77790]
Memoize::Storable: respect 'nstore' option not respected
    fixes/net_ftp_failed_command - [ #37700] Net::FTP: cope
gracefully with a failed command
    fixes/perlbug-patchlist - [3541c11] [perl #118433] Make perlbug look
up the list of local patches at run time
    fixes/module_metadata_taint_fix - [bff978f] [ #88576]
untaint version, if needed, in Module::Metadata
    fixes/IPC-SysV-spelling - [ #86736] Fix spelling of
IPC_CREAT in IPC-SysV documentation
    fixes/freemint -

@INC for perl 5.18.2:

Environment for perl 5.18.2:
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PERL_BADLANG (unset)

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About