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

[ID 20000319.002] Too narrow wording in 'uninitialized value' runtime error msg

Wolfgang Laun
March 19, 2000 02:23
[ID 20000319.002] Too narrow wording in 'uninitialized value' runtime error msg
Message ID:

This is a bug report for perl from,
generated with the help of perlbug 1.27 running under perl v5.6.0.

[Please enter your report here]

The -w run time error message 
   "Use of uninitialized value in concatenation (.) at..."
can occur in misleading circumstances. - I know why this
error message comes up (so don't tell me ;-) but nonetheless
it can be misleading as in the example shown below:

#! /usr/local/bin/perl -w
our( $ini, $unini );
$ini = '';
print "unini=$unini, ", "ini=".$ini . "\n";

$ ./ 
Use of uninitialized value in concatenation (.) at ./ line 4.
unini=, ini=

Perhaps that message should read "...value in string operation at..."

[Please do not change anything below this line]

Site configuration information for perl v5.6.0:

Configured by laune at Thu Mar 16 16:55:29 CET 2000.

Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
    osname=linux, osvers=2.2.12-20, archname=i686-linux
    uname='linux attk34 2.2.12-20 #1 mon sep 27 10:40:35 edt 1999 i686 unknown '
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=define 
    use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef
    cc='cc', optimize='-O2', gccversion=egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
    ccflags ='-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
    stdchar='char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=4, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lndbm -lgdbm -ldb -ldl -lm -lc -lposix -lcrypt
    libc=/lib/, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'

Locally applied patches:

@INC for perl v5.6.0:

Environment for perl v5.6.0:
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PERL_BADLANG (unset)
    SHELL=/bin/bash Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About