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

[ID 20000319.004] Stringify of undef in array; join() or '""'?

Joe Smith
March 19, 2000 18:27
[ID 20000319.004] Stringify of undef in array; join() or '""'?
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]

  perl -wle '@_ = (undef,undef); $_ = "@_"'
  Use of uninitialized value in join at -e line 1.
  Use of uninitialized value in join at -e line 1.

Is there a more optimal wording for that warning?
There is no explicit call to join() there, just an
implict call from a non-overloaded stringify of an array.

  Use of uninitialized value in '""' at -e line 1.

[Please do not change anything below this line]

Site configuration information for perl v5.6.0:

Configured by jms at Mon Mar 13 19:15:47 PST 2000.

Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
    osname=solaris, osvers=2.7, archname=sun4-solaris
    uname='sunos romana 5.7 generic_106541-06 sun4u sparc sunw,ultra-5_10 '
    config_args='-de -D cc=gcc'
    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='-O', gccversion=2.95.2 19991024 (release)
    cppflags='-fno-strict-aliasing -I/usr/local/include -I/opt/local/include -I/opt/gnu/include'
    ccflags ='-fno-strict-aliasing -I/usr/local/include -I/opt/local/include -I/opt/gnu/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=16
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -L/usr/local/lib -L/opt/local/lib -L/opt/gnu/lib '
    libpth=/usr/local/lib /opt/local/lib /opt/gnu/lib /lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -lgdbm -ldb -ldl -lm -lc -lcrypt -lsec
    libc=/lib/, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib -L/opt/local/lib -L/opt/gnu/lib'

Locally applied patches:

@INC for perl v5.6.0:

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