develooper Front page | perl.perl5.porters | Postings from October 2011

[perl #102064] [PATCH] Fix use inaccuracy in perlmod.pm

Thread Previous | Thread Next
From:
chromatic
Date:
October 25, 2011 04:17
Subject:
[perl #102064] [PATCH] Fix use inaccuracy in perlmod.pm
Message ID:
rt-3.6.HEAD-31297-1319479005-1766.102064-75-0@perl.org
# New Ticket Created by  chromatic 
# Please include the string:  [perl #102064]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=102064 >


This is a bug report for perl from chromatic@wgz.org,
generated with the help of perlbug 1.39 running under perl 5.14.1.


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

perlmod describes the BEGIN form desugaring of use MODULE, but it
does so incorrectly. It's trivial to write code which breaks the
documented desugaring, while what Perl actually does works fine.

This patch corrects this documentation error.

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

Configured by chromatic at Fri Jun 17 12:49:57 PDT 2011.

Summary of my perl5 (revision 5 version 14 subversion 1) configuration:
   
  Platform:
    osname=linux, osvers=2.6.35-28-generic, archname=x86_64-linux
    uname='linux innerwheel 2.6.35-28-generic #50-ubuntu smp fri mar 18 
18:42:20 utc 2011 x86_64 gnulinux '
    config_args='-de -Dprefix=/home/chromatic/.perl5/perls/perl-5.14.1'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=undef, usemultiplicity=undef
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=define, use64bitall=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-fno-strict-aliasing -pipe -fstack-protector -
I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O2',
    cppflags='-fno-strict-aliasing -pipe -fstack-protector -
I/usr/local/include'
    ccversion='', gccversion='4.4.5', 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 =' -fstack-protector -L/usr/local/lib'
    libpth=/usr/local/lib /lib/../lib /usr/lib/../lib /lib /usr/lib 
/usr/lib/x86_64-linux-gnu /lib64 /usr/lib64 /usr/local/lib64
    libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc -lgdbm_compat
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
    libc=/lib/libc-2.12.1.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.12.1'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib -fstack-
protector'

Locally applied patches:
    

---
@INC for perl 5.14.1:
    /home/chromatic/.perl5/perls/perl-5.14.1/lib/site_perl/5.14.1/x86_64-linux
    /home/chromatic/.perl5/perls/perl-5.14.1/lib/site_perl/5.14.1
    /home/chromatic/.perl5/perls/perl-5.14.1/lib/5.14.1/x86_64-linux
    /home/chromatic/.perl5/perls/perl-5.14.1/lib/5.14.1
    .

---
Environment for perl 5.14.1:
    HOME=/home/chromatic
    LANG=en_US.UTF-8
    LANGUAGE=en_US:en
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=/home/chromatic/.perl5/bin:/home/chromatic/.perl5/perls/perl-5.14.1/bin:/usr/lib/ccache:/home/chromatic/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
    PERLBREW_PATH=/home/chromatic/.perl5/bin:/home/chromatic/.perl5/perls/perl-5.14.1/bin
    PERLBREW_PERL=perl-5.14.1
    PERLBREW_ROOT=/home/chromatic/.perl5
    PERLBREW_VERSION=0.23
    PERL_BADLANG (unset)
    SHELL=/bin/bash

Thread Previous | Thread Next


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