develooper Front page | perl.perl5.porters | Postings from November 1999

[ID 19991126.001] open(my $FH,..) emits false warning

From:
jarausch
Date:
November 26, 1999 05:07
Subject:
[ID 19991126.001] open(my $FH,..) emits false warning
Message ID:
199911261307.OAA85063@numa1.igpm.rwth-aachen.de

This is a bug report for perl from jarausch@numa1.igpm.rwth-aachen.de,
generated with the help of perlbug 1.27 running under perl 5.00563.


-----------------------------------------------------------------
[Please enter your report here]
The script:

perl -w <<\EOP
use strict;

sub Check {
  open(my $FH,">dummy"); # line 4
}

Check;
EOP

emits incorrectly:\

Use of uninitialized value at - line 4.


This is perl 5.005_62 + Sarathy's patches upto 4590 plus most of
Ilya's patches


[Please do not change anything below this line]
-----------------------------------------------------------------

---
Site configuration information for perl 5.00563:

Configured by jarausch at Thu Nov 11 12:46:47 CST 1999.

Summary of my perl5 (revision 5.0 version 5 subversion 63) configuration:
  Platform:
    osname=irix, osvers=6.5, archname=IP26-irix
    uname='irix64 numa1 6.5 07151439 ip26 '
    config_args='-Dcc=cc -Dprefix=/usr/LOCAL -Dlocincpth=/usr/LOCAL/include -Dloclibpth=/usr/LOCAL/lib'
    hint=previous, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
    use64bits=undef usemultiplicity=undef
  Compiler:
    cc='cc', optimize='-O3 -OPT:space=on -mips4', gccversion=
    cppflags='-D_BSD_TYPES -D_BSD_TIME -I/usr/LOCAL/include -DLANGUAGE_C'
    ccflags ='-D_BSD_TYPES -D_BSD_TIME -woff 1009,1110,1184 -I/usr/LOCAL/include -DLANGUAGE_C'
    stdchar='unsigned char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    alignbytes=8, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='cc', ldflags ='-mips4 -Wl,-woff,84 -L/usr/LOCAL/lib'
    libpth=/usr/LOCAL/lib /usr/lib32 /lib32
    libs=-lgdbm -ldb -lm -lc
    libc=/usr/lib32/libc.so, so=so, useshrplib=true, libperl=libperl.so
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='  -Wl,-rpath,/usr/LOCAL/lib/perl5/5.00562/IP26-irix/CORE'
    cccdlflags='-Wl,-rpath,/usr/LOCAL/lib/perl5/5.00562/IP26-irix/CORE', lddlflags='-shared -L/usr/LOCAL/lib'

Locally applied patches:
    

---
@INC for perl 5.00563:
    /usr/LOCAL/lib/perl5/5.00562/IP26-irix
    /usr/LOCAL/lib/perl5/5.00562
    /usr/LOCAL/lib/site_perl/5.00562/IP26-irix
    /usr/LOCAL/lib/site_perl
    .

---
Environment for perl 5.00563:
    HOME=/usr/people/jarausch
    LANG=C
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=.:/usr/people/jarausch/bin:/usr/PRIVATE/bin:/usr/LOCAL/bin:/usr/LOCAL/teTeX/bin:/usr/bin:/usr/java/bin:/usr/bsd:/bin:/usr/bin/X11:/usr/local/bin:/usr/local/bin/X11:/usr/sbin:/usr/demos/bin
    PERL_BADLANG (unset)
    SHELL=/bin/zsh



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About