develooper Front page | perl.perl5.porters | Postings from July 2001

[ID 20010720.007] need (Missing semicolon on previous line?) message

Thread Next
Vicki Brown
July 20, 2001 12:31
[ID 20010720.007] need (Missing semicolon on previous line?) message
Message ID:

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

[Please enter your report here]

Given this code snippet (

        dbfkeys{msesid} = $msession
        foreach $zzin (keys %in) {
            zzdebug2(3, "$func: zzin=$zzin") if $debug>=3;
            $dbfkeys{$zzin} = $in{$zzin} unless ( $dbfkeys{$zzin});

% perl -c
syntax error at line 4, near "$zzin ("
syntax error at line 7, near "}" had compilation errors.

The actual error is the missing ; on line 3  (hmmm... why is that line 3
and not 2?).

I  would like to see perl -c check for an report the useful
    (Missing semicolon on previous line?)
message here.

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

Configured by vlb at Sat Jun 16 11:53:54 PDT 2001.

Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
    osname=freebsd, osvers=4.2-release, archname=i386-freebsd
    uname='freebsd 4.2-release freebsd 4.2-release #0: mon nov 20 13:02:55 gmt 2000 i386 '
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    cc='cc', ccflags ='-fno-strict-aliasing -I/usr/local/include',
    cppflags='-fno-strict-aliasing -I/usr/local/include'
    ccversion='', gccversion='2.95.2 19991024 (release)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    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 ='-Wl,-E  -L/usr/local/lib'
    libpth=/usr/lib /usr/local/lib
    libs=-lbind -lm -lc -lcrypt -lutil
    perllibs=-lbind -lm -lc -lcrypt -lutil
    libc=, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-DPIC -fpic', lddlflags='-shared  -L/usr/local/lib'

Locally applied patches:

@INC for perl v5.6.1:

Environment for perl v5.6.1:
    LANG (unset)
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PERL_BADLANG (unset)

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About