develooper Front page | perl.perl5.porters | Postings from June 2010

[perl #75482] no VERSION is wrong deparsed

From:
Frank Wiegand
Date:
June 1, 2010 01:05
Subject:
[perl #75482] no VERSION is wrong deparsed
Message ID:
rt-3.6.HEAD-4976-1275317635-479.75482-75-0@perl.org
# New Ticket Created by  Frank Wiegand 
# Please include the string:  [perl #75482]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=75482 >


This is a bug report for perl from frank.wiegand@gmail.com,
generated with the help of perlbug 1.39 running under perl 5.13.1.


-----------------------------------------------------------------

        % bleadperl -MO=Deparse -e 'no 6'
        sub BEGIN {
            require 6;
        }
        -e syntax OK

Since C<no VERSION;> can't be expressed using other constructs, this
should just be deparsed as it is (»no 6;«).


Thanks, Frank

-----------------------------------------------------------------
---
Flags:
    category=library
    severity=low
    module=B::Deparse
---
Site configuration information for perl 5.13.1:

Configured by fw at Mon May 31 12:36:26 CEST 2010.

Summary of my perl5 (revision 5 version 13 subversion 1) configuration:
  Commit id: e57ed4ecd4d7de38a79a316da8d657dad656f93f
  Platform:
    osname=linux, osvers=2.6.32-trunk-amd64, archname=x86_64-linux
    uname='linux hal2 2.6.32-trunk-amd64 #1 smp sun jan 10 22:40:40 utc 2010 x86_64 gnulinux '
    config_args='-de -Dusedevel -DDEBUGGING=both -Doptimize=-g -Dcc=ccache gcc -Dld=gcc -Dprefix=/opt/perl/perl-1275301828/ -Dmad'
    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='ccache gcc', ccflags ='-DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-g',
    cppflags='-DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
    ccversion='', gccversion='4.4.4', 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='gcc', ldflags =' -fstack-protector -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib /lib64 /usr/lib64
    libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc -lgdbm_compat
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
    libc=/lib/libc-2.10.2.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.10.2'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fPIC', lddlflags='-shared -g -L/usr/local/lib -fstack-protector'

Locally applied patches:
    

---
@INC for perl 5.13.1:
    /home/fw/perl5/lib/perl5
    /home/fw/perl5/lib/perl5/x86_64-linux-gnu-thread-multi
    /opt/perl/perl-1275301828/lib/site_perl/5.13.1/x86_64-linux
    /opt/perl/perl-1275301828/lib/site_perl/5.13.1
    /opt/perl/perl-1275301828/lib/5.13.1/x86_64-linux
    /opt/perl/perl-1275301828/lib/5.13.1
    .

---
Environment for perl 5.13.1:
    HOME=/home/fw
    LANG=de_DE.UTF-8
    LANGUAGE=
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=/home/fw/perl5/bin:/sbin:/usr/sbin:/home/fw/bin:/home/fw/bin:/usr/local/bin:/usr/bin:/bin:/usr/games
    PERL5LIB=/home/fw/perl5/lib/perl5:/home/fw/perl5/lib/perl5/x86_64-linux-gnu-thread-multi
    PERL_AUTOINSTALL=--defaultdeps
    PERL_BADLANG (unset)
    PERL_EXTUTILS_AUTOINSTALL=--defaultdeps
    PERL_MM_OPT=INSTALL_BASE=/home/fw/perl5
    PERL_MM_USE_DEFAULT=1
    SHELL=/bin/zsh





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