Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PATCH perlvar.pod] Missing English variables #9122

Closed
p5pRT opened this issue Nov 17, 2007 · 3 comments
Closed

[PATCH perlvar.pod] Missing English variables #9122

p5pRT opened this issue Nov 17, 2007 · 3 comments

Comments

@p5pRT
Copy link

p5pRT commented Nov 17, 2007

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

Searchable as RT47533$

@p5pRT
Copy link
Author

p5pRT commented Nov 17, 2007

From @schwern

Created by @schwern

Doing some work on English.pm revealed a handful of undocumented
English.pm variables. They are $LAST_SUBMATCH_RESULT, %OS_ERROR
and %ERRNO.

--- pod/perlvar.pod (revision 40794)
+++ pod/perlvar.pod (local)
@​@​ -302,6 +302,8 @​@​
(Mnemonic​: be positive and forward looking.)
This variable is read-only and dynamically scoped to the current BLOCK.

+=item $LAST_SUBMATCH_RESULT
+
=item $^N
X<$^N>

@​@​ -801,6 +803,10 @​@​

Also see L<Error Indicators>.

+=item %OS_ERROR
+
+=item %ERRNO
+
=item %!
X<%!>

Perl Info

Flags:
    category=docs
    severity=low

Site configuration information for perl 5.10.0:

Configured by schwern at Fri Nov 16 15:48:49 PST 2007.

Summary of my perl5 (revision 5 version 10 subversion 0 patch 32344) configuration:
  Platform:
    osname=darwin, osvers=8.10.1, archname=darwin-thread-multi-2level
    uname='darwin windhund.schwern.org 8.10.1 darwin kernel version 8.10.1: wed may 23 16:33:00 pdt 2007; root:xnu-792.22.5~1release_i386 i386 i386 macbook1,1 darwin '
    config_args='-de -Dprefix=/usr/local/perl/blead -Dusedevel -Duseithreads -Dccflags=-I/sw/include -Dldflags=-L/sw/lib -Dperladmin=schwern@pobox.com -Dcf_email=schwern@pobox.com -Dmyhostname=windhund -Dmydomain=.schwern.org -Dlibpth=/usr/local/lib /sw/lib /opt/local/lib /usr/lib -Uversiononly -Uinstallusrbinperl -Dusesitecustomize'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=undef, use64bitall=undef, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-I/sw/include -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include',
    optimize='-O3',
    cppflags='-no-cpp-precomp -I/sw/include -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include'
    ccversion='', gccversion='4.0.1 (Apple Computer, Inc. build 5367)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags ='-L/sw/lib -L/usr/local/lib -L/opt/local/lib'
    libpth=/usr/local/lib /sw/lib /opt/local/lib /usr/lib
    libs=-lgdbm -ldbm -ldb -ldl -lm -lc
    perllibs=-ldl -lm -lc
    libc=/usr/lib/libc.dylib, so=dylib, useshrplib=false, libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ', lddlflags='-L/sw/lib -bundle -undefined dynamic_lookup -L/usr/local/lib -L/opt/local/lib'

Locally applied patches:
    RC1


@INC for perl 5.10.0:
    /sw/lib/perl5
    /sw/lib/perl5/darwin
    /usr/local/perl/blead/lib/5.10.0/darwin-thread-multi-2level
    /usr/local/perl/blead/lib/5.10.0
    /usr/local/perl/blead/lib/site_perl/5.10.0/darwin-thread-multi-2level
    /usr/local/perl/blead/lib/site_perl/5.10.0
    .


Environment for perl 5.10.0:
    DYLD_LIBRARY_PATH (unset)
    HOME=/Users/schwern
    LANG (unset)
    LANGUAGE (unset)
    LC_CTYPE=en_US.UTF-8
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=/Users/schwern/bin:/usr/local/bin:/opt/local/bin:/opt/local/sbin:/sw/bin:/sw/sbin:/Users/schwern/bin:/usr/local/bin:/usr/local/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin
    PERL5LIB=/sw/lib/perl5:/sw/lib/perl5/darwin
    PERL_BADLANG (unset)
    SHELL=/bin/bash

@p5pRT p5pRT closed this as completed Nov 17, 2007
@p5pRT
Copy link
Author

p5pRT commented Nov 17, 2007

@rgs - Status changed from 'new' to 'resolved'

@p5pRT
Copy link
Author

p5pRT commented Nov 17, 2007

From @rgs

On 17/11/2007, via RT Michael G Schwern <perlbug-followup@​perl.org> wrote​:

Doing some work on English.pm revealed a handful of undocumented
English.pm variables. They are $LAST_SUBMATCH_RESULT, %OS_ERROR
and %ERRNO.

Thanks, applied as #32360.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant