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

[perl #42131] base.pm - missing error message after die statement

Thread Next
From:
WulfDirk . Leuschner @ sanofi-aventis . com
Date:
March 27, 2007 03:59
Subject:
[perl #42131] base.pm - missing error message after die statement
Message ID:
rt-3.6.HEAD-1687-1174992152-1632.42131-75-0@perl.org
# New Ticket Created by  WulfDirk.Leuschner@sanofi-aventis.com 
# Please include the string:  [perl #42131]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=42131 >


This is a bug report for perl from wulfdirk.leuschner@sanofi-aventis.com,
generated with the help of perlbug 1.35 running under perl v5.8.8.


-----------------------------------------------------------------
[Please enter your report here]

In the module 'base.pm' line 85 says:

  die if $@ && $@ !~ /^Can't locate .*? at \(eval /;

It'd be nice to include the error $@ in the die statement:

  die $@ if $@ && ...

Might make life much easier (sometimes)...

Regards,
Wulf Dirk

P.S. Same thing for perl5.8.6

[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
    category=core
    severity=wishlist
---
This perlbug was built using Perl v5.8.8 - Sat Nov 25 11:01:17 UTC 2006
It is being executed now by  Perl v5.8.8 - Sat Nov 25 10:57:22 UTC 2006.

Site configuration information for perl v5.8.8:

Configured by abuild at Sat Nov 25 10:57:22 UTC 2006.

Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
  Platform:
    osname=linux, osvers=2.6.18, archname=x86_64-linux-thread-multi
    uname='linux eisler 2.6.18 #1 smp tue nov 21 12:59:21 utc 2006 x86_64 x86_64 x86_64 gnulinux '
    config_args='-ds -e -Dprefix=/usr -Dvendorprefix=/usr -Dinstallusrbinperl -Dusethreads -Di_db -Di_dbm -Di_ndbm -Di_gdbm -Duseshrplib=true -Doptimize=-O2 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -Wall -pipe'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define use5005threads=undef useithreads=define usemultiplicity=define
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=define use64bitall=define uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O2 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -Wall -pipe',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -pipe -Wdeclaration-after-statement'
    ccversion='', gccversion='4.1.2 20061115 (prerelease) (SUSE Linux)', 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 =' -L/usr/local/lib64'
    libpth=/lib64 /usr/lib64 /usr/local/lib64
    libs=-lm -ldl -lcrypt -lpthread
    perllibs=-lm -ldl -lcrypt -lpthread
    libc=/lib64/libc-2.5.so, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version='2.5'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/usr/lib/perl5/5.8.8/x86_64-linux-thread-multi/CORE'
    cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib64'

Locally applied patches:
    

---
@INC for perl v5.8.8:
    /usr/lib/perl5/5.8.8/x86_64-linux-thread-multi
    /usr/lib/perl5/5.8.8
    /usr/lib/perl5/site_perl/5.8.8/x86_64-linux-thread-multi
    /usr/lib/perl5/site_perl/5.8.8
    /usr/lib/perl5/site_perl
    /usr/lib/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi
    /usr/lib/perl5/vendor_perl/5.8.8
    /usr/lib/perl5/vendor_perl
    .

---
Environment for perl v5.8.8:
    HOME=/home/wdl
    LANG=de_DE.UTF-8
    LANGUAGE (unset)
    LD_LIBRARY_PATH=/lib64:/usr/lib64:/lib:/usr/lib:/opt/bio/emboss/lib:/lib64:/usr/lib64:/lib:/usr/lib:/opt/bio/emboss/lib::/opt/oracle/lib:/opt/oracle/lib
    LOGDIR (unset)
    PATH=/usr/local/mysql/bin:/opt/java/java/bin:/usr/local/mysql/bin:/opt/java/java/bin:/home/wdl/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/lib64/jvm/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/lib/qt3/bin:/opt/bio/phylip/bin:/opt/bio/emboss/bin:/opt/bio/clustalw/bin:/opt/bio/hmmer/bin:/opt/bio/fasta/bin:/opt/bio/blast/bin:/opt/oracle/bin:/opt/bio/phylip/bin:/opt/bio/emboss/bin:/opt/bio/clustalw/bin:/opt/bio/hmmer/bin:/opt/bio/fasta/bin:/opt/bio/blast/bin:/opt/oracle/bin
    PERLLIB_AVENTIS=/opt/cvs_work/lib
    PERLLIB_BIOPERL_LIVE=/opt/bio/ensembl/ensembl/bioperl-live
    PERLLIB_ENSEMBL=/opt/bio/ensembl/ensembl/ensembl/modules
    PERLLIB_ENSEMBL_COMPARA=/opt/bio/ensembl/ensembl/ensembl-compara/modules
    PERLLIB_ENSEMBL_VARIATION=/opt/bio/ensembl/ensembl/ensembl-variation/modules
    PERL_BADLANG (unset)
    SHELL=/bin/bash

Mit freundlichen Grüßen / Best regards / Cordialement

Dr. Wulf Dirk Leuschner

Sanofi-Aventis Deutschland GmbH
S&MA Genomic Sciences (Bioinformatics) Frankfurt
Industriepark Hoechst
Bldg. G879
D-65926 Frankfurt am Main
t: +49 69 305 15280
w: www.sanofi-aventis.de

**************************************************************************************************************************************************************
Sanofi-Aventis Deutschland GmbH ·  Sitz der Gesellschaft: Frankfurt am Main · Handelsregister: Frankfurt am Main, Abt. B Nr. 40661
Vorsitzender des Aufsichtsrats: Hanspeter Spek - Geschäftsführer: Dr. Heinz-Werner Meier (Vorsitzender),
Dr. Matthias Braun, Hervé Gisserot, Dieter Kohl, Prof. Dr. Dr. Werner Kramer, Dr. Martin Siewert
**************************************************************************************************************************************************************



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