develooper Front page | perl.perl5.porters | Postings from March 2006

[perl #38771] B::Lint chokes on simple script

Thread Previous | Thread Next
From:
Bart Lateur
Date:
March 20, 2006 16:48
Subject:
[perl #38771] B::Lint chokes on simple script
Message ID:
rt-3.0.11-38771-131341.3.61370802444853@perl.org
# New Ticket Created by  Bart Lateur 
# Please include the string:  [perl #38771]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/rt3/Ticket/Display.html?id=38771 >


This is a bug report for perl from bart.lateur@pandora.be,
generated with the help of perlbug 1.35 running under perl v5.8.7.


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

If you run the following command line (Windows quotes):

    perl -MO=Lint,all -e "print for 1 .. 10"

perls response is:

  Can't locate object method "NAME" via package "B::SPECIAL" at
D:/PXPerl/lib/B/Lint.pm line 245.
  CHECK failed--call queue aborted.


This is B::Lint version 1.03, the same version that is included with
perl 5.8.8. I guess that means this bug hasn't been fixed yet.

Line 245 in that module is the line

    if ($last->name eq "gv" && $last->gv->NAME eq "_") {

in the sub B::LOOP::lint.


-----------------------------------------------------------------
---
Flags:
    category=library
    severity=medium
---
Site configuration information for perl v5.8.7:

Configured by Pixi at Thu Jun  9 11:04:40 2005.

Summary of my perl5 (revision 5 version 8 subversion 7) configuration:
  Platform:
    osname=MSWin32, osvers=5.1, archname=MSWin32-x86-multi-thread
    uname=''
    config_args='undef'
    hint=recommended, useposix=true, d_sigaction=undef
    usethreads=define use5005threads=undef 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='gcc', ccflags ='-g -O3 -fno-strict-aliasing -Wall -Wno-comment
-DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT
-DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX  ',
    optimize='',
    cppflags='-g -O3 -fno-strict-aliasing -Wall -Wno-comment -DWIN32
-D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT
-DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX '
    ccversion='', gccversion='', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=10
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='__int64',
lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags ='-s -LD:\PXPerl\lib\CORE'
    libpth=
    libs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32
-ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr
-lwinmm -lversion -lodbc32 -lodbccp32 -lshlwapi -lstdc++
    perllibs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool
-lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid
-lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lshlwapi -lstdc++
    libc=-lmsvcrt, so=dll, useshrplib=yes, libperl=libperl58.a
    gnulibc_version='undef'
  Dynamic Linking:
    dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-DHASATTRIBUTE', lddlflags='-mdll -s
-LD:\PXPerl\lib\CORE'

Locally applied patches:


---
@INC for perl v5.8.7:
    D:/PXPerl/lib
    D:/PXPerl/site/lib
    .

---
Environment for perl v5.8.7:
    HOME (unset)
    LANG (unset)
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)

PATH=D:\PXPerl\bin;C:\Perl\bin;D:\PXPerl\bin;D:\PXPerl\parrot\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\command;d:\Devel\MinGW\bin;d:\Devel\msys\bin;c:\bin;c:\usr\local\wbin;C:\PROGRA~1\Aspell\bin;d:\imagemagick;D:\lame-3.96.1;C:\Program
Files\monotone;D:\Program Files\Darcs
    PERL_BADLANG (unset)
    SHELL (unset)


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