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

[ID 20000330.052] Use of uninitialized value in concatenation (.)

William R Ward
March 30, 2000 19:50
[ID 20000330.052] Use of uninitialized value in concatenation (.)
Message ID:

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

The warning message that appears when you use an uninitialized variable
in string interpolation (double quotes) is wrong.  It says "Use of
uninitialized value in concatenation (.)" when in fact there is no
concatenation (.) operator on that line.  Instead, there is double-quoted
string interpolation.  The warning message is misleading, as novice
users might go looking for a concatenation operator (a .  between two
scalar values) when in fact the problem is with something different.

[Please do not change anything below this line]
Site configuration information for perl v5.6.0:

Configured by hermit at Tue Mar 28 15:34:43 PST 2000.

Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
    osname=linux, osvers=2.0.36, archname=i586-linux
    uname='linux komodo 2.0.36 #5 thu may 20 02:14:07 pdt 1999 i586 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='gcc', optimize='-O2', gccversion=
    ccflags ='-I/usr/local/include -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=4
    alignbytes=4, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lndbm -lgdbm -ldbm -ldb -ldl -lm -lc -lposix -lcrypt
    libc=/lib/, so=so, useshrplib=true,
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic -Wl,-rpath,/usr/local/perl5.6/lib/5.6.0/i586-linux/CORE'
    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=/usr/bin/tcsh Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About