Perl / perl5

🐪 The Perl programming language
https://dev.perl.org/perl5/
Other
1.96k stars 555 forks source link

Typo in perlreapi(1perl) #13098

Closed p5pRT closed 11 years ago

p5pRT commented 11 years ago

Migrated from rt.perl.org#118831 (status was 'resolved')

Searchable as RT118831$

p5pRT commented 11 years ago

From nbtrap@nbtrap.com

I found a typo in perlreapi.pod in v5.18.0. See patch and version info below.

p5pRT commented 11 years ago

From nbtrap@nbtrap.com

perl.patch ```diff From 32d348da957a32afc4099dd8173d151812335bce Mon Sep 17 00:00:00 2001 From: Nathan Trapuzzano Date: Tue, 9 Jul 2013 20:59:34 -0400 Subject: [PATCH] Fix typo in perlreapi(1perl). --- pod/perlreapi.pod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pod/perlreapi.pod b/pod/perlreapi.pod index eaaa179..82bf6b4 100644 --- a/pod/perlreapi.pod +++ b/pod/perlreapi.pod @@ -315,7 +315,7 @@ Perl will handle releasing anything else contained in the C structure. =head2 Numbered capture callbacks Called to get/set the value of C<$`>, C<$'>, C<$&> and their named -equivalents, ${^PREMATCH}, ${^POSTMATCH} and $^{MATCH}, as well as the +equivalents, ${^PREMATCH}, ${^POSTMATCH} and ${^MATCH}, as well as the numbered capture groups (C<$1>, C<$2>, ...). The C parameter will be C<1> for C<$1>, C<2> for C<$2> and so -- 1.8.3.2 ```
p5pRT commented 11 years ago

From nbtrap@nbtrap.com


Flags​:   category=core   severity=low


Site configuration information for perl 5.18.0​:

Configured by nobody at Sun May 19 14​:50​:53 CEST 2013.

Summary of my perl5 (revision 5 version 18 subversion 0) configuration​:  
  Platform​:   osname=linux\, osvers=3.9.2-1-arch\, archname=x86_64-linux-thread-multi   uname='linux flo64 3.9.2-1-arch #1 smp preempt sat may 11 20​:31​:08 cest 2013 x86_64 gnulinux '   config_args='-des -Dusethreads -Duseshrplib -Doptimize=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Dprefix=/usr -Dvendorprefix=/usr -Dprivlib=/usr/share/perl5/core_perl -Darchlib=/usr/lib/perl5/core_perl -Dsitelib=/usr/share/perl5/site_perl -Dsitearch=/usr/lib/perl5/site_perl -Dvendorlib=/usr/share/perl5/vendor_perl -Dvendorarch=/usr/lib/perl5/vendor_perl -Dscriptdir=/usr/bin/core_perl -Dsitescript=/usr/bin/site_perl -Dvendorscript=/usr/bin/vendor_perl -Dinc_version_list=none -Dman1ext=1perl -Dman3ext=3perl -Dcccdlflags='-fPIC' -Dlddlflags=-shared -Wl\,-O1\,--sort-common\,--as-needed\,-z\,relro -Dldflags=-Wl\,-O1\,--sort-common\,--as-needed\,-z\,relro'   hint=recommended\, useposix=true\, d_sigaction=define   useithreads=define\, usemultiplicity=define   useperlio=define\, d_sfio=undef\, uselargefiles=define\, usesocks=undef   use64bitint=define\, use64bitall=define\, uselongdouble=undef   usemymalloc=n\, bincompat5005=undef   Compiler​:   cc='cc'\, ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'\,   optimize='-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4'\,   cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'   ccversion=''\, gccversion='4.8.0 20130502 (prerelease)'\, gccosandvers=''   intsize=4\, longsize=8\, ptrsize=8\, doublesize=8\, byteorder=12345678   d_longlong=define\, longlongsize=8\, d_longdbl=define\, longdblsize=16   ivtype='long'\, ivsize=8\, nvtype='double'\, nvsize=8\, Off_t='off_t'\, lseeksize=8   alignbytes=8\, prototype=define   Linker and Libraries​:   ld='cc'\, ldflags ='-Wl\,-O1\,--sort-common\,--as-needed\,-z\,relro -fstack-protector -L/usr/local/lib'   libpth=/usr/local/lib /lib/../lib /usr/lib/../lib /lib /usr/lib /lib64 /usr/lib64   libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc -lgdbm_compat   perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc   libc=/lib/libc-2.17.so\, so=so\, useshrplib=true\, libperl=libperl.so   gnulibc_version='2.17'   Dynamic Linking​:   dlsrc=dl_dlopen.xs\, dlext=so\, d_dlsymun=undef\, ccdlflags='-Wl\,-E -Wl\,-rpath\,/usr/lib/perl5/core_perl/CORE'   cccdlflags='-fPIC'\, lddlflags='-shared -Wl\,-O1\,--sort-common\,--as-needed\,-z\,relro -L/usr/local/lib -fstack-protector'

Locally applied patches​:  


@​INC for perl 5.18.0​:   /opt/cpan/lib/perl5/x86_64-linux-thread-multi   /opt/cpan/lib/perl5   /usr/lib/perl5/site_perl   /usr/share/perl5/site_perl   /usr/lib/perl5/vendor_perl   /usr/share/perl5/vendor_perl   /usr/lib/perl5/core_perl   /usr/share/perl5/core_perl   .


Environment for perl 5.18.0​:   HOME=/home/nathan   LANG=en_US.UTF-8   LANGUAGE (unset)   LD_LIBRARY_PATH (unset)   LOGDIR (unset)   PATH=/home/nathan/opt/bin​:/opt/cpan/bin​:/usr/local/sbin​:/usr/local/bin​:/usr/bin​:/usr/bin/site_perl​:/usr/bin/vendor_perl​:/usr/bin/core_perl​:/opt/plan9/bin​:/opt/avr8-gnu-toolchain-linux_x86_64/bin   PERL5LIB=/opt/cpan/lib/perl5​:   PERLDB_OPTS=HistFile=/home/nathan/.perl5db_history HistSize=999999 windowSize=25   PERL_BADLANG (unset)   PERL_LOCAL_LIB_ROOT=​:/opt/cpan   PERL_MB_OPT=--install_base /opt/cpan   PERL_MM_OPT=INSTALL_BASE=/opt/cpan   SHELL=/bin/bash

p5pRT commented 11 years ago

From @cpansprout

On Tue Jul 09 18​:03​:53 2013\, nbtrap@​nbtrap.com wrote​:

I found a typo in perlreapi.pod in v5.18.0. See patch and version info below.

Thank you. Applied as 3b543d8408a3f651b5.

--

Father Chrysostomos

p5pRT commented 11 years ago

The RT System itself - Status changed from 'new' to 'open'

p5pRT commented 11 years ago

@cpansprout - Status changed from 'open' to 'resolved'