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

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

Thread Next
From:
William R Ward
Date:
March 30, 2000 19:50
Subject:
[ID 20000330.052] Use of uninitialized value in concatenation (.)
Message ID:
200003310350.TAA13319@komodo.bayview.com

This is a bug report for perl from hermit@komodo.bayview.com,
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]
-----------------------------------------------------------------
---
Flags:
    category=core
    severity=medium
---
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:
  Platform:
    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 '
    config_args=''
    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
  Compiler:
    cc='gcc', optimize='-O2', gccversion=2.7.2.3
    cppflags='-I/usr/local/include'
    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/libc-2.0.7.so, so=so, useshrplib=true, libperl=libperl.so
  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:
    /usr/local/perl5.6/lib/5.6.0/i586-linux
    /usr/local/perl5.6/lib/5.6.0
    /usr/local/perl5.6/lib/site_perl/5.6.0/i586-linux
    /usr/local/perl5.6/lib/site_perl/5.6.0
    /usr/local/perl5.6/lib/site_perl
    .

---
Environment for perl v5.6.0:
    HOME=/home/hermit
    LANG=C
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=/home/hermit/cis33/lab7:/usr/local/perl5.6/bin:/home/hermit/cis33:/home/hermit/cis33/lab6:/home/hermit/bin:/usr/ucb:/usr/sbin:/bin:/usr/bin:/usr/bin/mh:/usr/old:/usr/etc:/etc:/usr/bsd:/usr/5bin:/usr/local/bin:/usr/local/etc:/usr/old:/usr/nas/bin:/bin:/usr/bin/X11:/usr/X11/bin:/usr/games:/sbin:/usr/sbin
    PERL_BADLANG (unset)
    SHELL=/usr/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