develooper Front page | perl.perl5.porters | Postings from August 2009

[perl #68538] "version::CLASS" used only once when using Safe.pm

Thread Next
From:
perlbug-followup
Date:
August 15, 2009 01:25
Subject:
[perl #68538] "version::CLASS" used only once when using Safe.pm
Message ID:
rt-3.6.HEAD-2466-1250319042-702.68538-75-0@perl.org
# New Ticket Created by  eserte@biokovo-amd64.herceg.de 
# Please include the string:  [perl #68538]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=68538 >


This is a bug report for perl from eserte@biokovo-amd64.herceg.de,
generated with the help of perlbug 1.39 running under perl 5.10.1.


-----------------------------------------------------------------
There's a new warning when just using Safe.pm in some ways. I
could reproduce it with the following piece of code

require Safe;
Safe->new;
__END__

put into a file XXX.pm and then using it like this:

$ /usr/perl-5.10.0-3220-gf9961a0/bin/perl -w -MXXX -e1
Name "version::CLASS" used only once: possible typo at /usr/perl-5.10.0-3220-gf9961a0/lib/5.10.1/amd64-freebsd/Safe.pm line 251.

I did a bisect, and then problem appeared in 1c92ff99e7dfbea7d6a8aebe7194d6251fb1b810
in blead.

Regards,
    Slaven

-----------------------------------------------------------------
---
Flags:
    category=library
    severity=low
    module=Safe
---
Site configuration information for perl 5.10.1:

Configured by eserte at Tue Aug  4 10:38:36 CEST 2009.

Summary of my perl5 (revision 5 version 10 subversion 1) configuration:
  Commit id: f9961a059c818ac71464be22671a6aeb834e3c87
  Platform:
    osname=freebsd, osvers=7.0-release, archname=amd64-freebsd
    uname='freebsd biokovo-amd64.herceg.de 7.0-release freebsd 7.0-release #0: sun feb 24 10:35:36 utc 2008 root@driscoll.cse.buffalo.edu:usrobjusrsrcsysgeneric amd64 '
    config_args='-Dprefix=/usr/perl-5.10.0-3220-gf9961a0 -Dusemymalloc=n -D cc=ccache cc -Dgccansipedantic -de'
    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 cc', ccflags ='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include',
    optimize='-O',
    cppflags='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
    ccversion='', gccversion='4.2.1 20070719  [FreeBSD]', 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='ccache cc', ldflags ='-Wl,-E  -fstack-protector -L/usr/local/lib'
    libpth=/usr/lib /usr/local/lib
    libs=-lgdbm -lm -lcrypt -lutil -lc
    perllibs=-lm -lcrypt -lutil -lc
    libc=, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-DPIC -fPIC', lddlflags='-shared  -L/usr/local/lib -fstack-protector'

Locally applied patches:
    PERL_GIT_UNPUSHED_COMMITS    	/* do not remove this line */
    PERL_GIT_UNCOMMITTED_CHANGES	/* do not remove this line */

---
@INC for perl 5.10.1:
    /usr/perl-5.10.0-3220-gf9961a0/lib/5.10.1/amd64-freebsd
    /usr/perl-5.10.0-3220-gf9961a0/lib/5.10.1
    /usr/perl-5.10.0-3220-gf9961a0/lib/site_perl/5.10.1/amd64-freebsd
    /usr/perl-5.10.0-3220-gf9961a0/lib/site_perl/5.10.1
    .

---
Environment for perl 5.10.1:
    HOME=/home/e/eserte
    LANG (unset)
    LANGUAGE (unset)
    LC_ALL=de_DE.ISO8859-1
    LC_CTYPE=de_DE.ISO8859-1
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=/usr/local/bin:/usr/bin:/bin:/usr/gnu/bin:/usr/TeX/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/pilot/bin:/home/e/eserte/bin/FreeBSD:/home/e/eserte/bin/sh:/home/e/eserte/bin:/usr/X11R6/bin:/usr/X11/bin:/usr/X386/bin:/usr/games:/home/e/eserte/devel
    PERLDOC=-MPod::Perldoc::ToTextOverstrike
    PERL_BADLANG (unset)
    PERL_HTML_DISPLAY_CLASS=HTML::Display::Mozilla
    SHELL=/bin/tcsh


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