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

[ID 20000208.012] syntax error in File/Glob.pm line 1

Thread Next
From:
Marc Lehmann
Date:
February 8, 2000 19:20
Subject:
[ID 20000208.012] syntax error in File/Glob.pm line 1
Message ID:
20000209011653.A23081@cerebro.laendle
This is a bug report for perl from root@cerebro.laendle,
generated with the help of perlbug 1.27 running under perl 5.00564.


-----------------------------------------------------------------
[Please enter your report here]

The error that has already been reported a bit differently (AFAICR), is
still there with the current snapshot, rendering file globbing unusable:

 perl  -e 'do { glob $_ }'
 syntax error at /usr/app/lib/perl5/i686-linux/File/Glob.pm line 1, near "package File::Glob"
 Compilation failed in require at -e line 1.
 BEGIN failed--compilation aborted at -e line 1.
 [Exit 255] 

A real-world example is from gimp-perl:

  my @dirs = map {glob $_} split /\s+/, $dirs;


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

---
Site configuration information for perl 5.00564:

Configured by root at Fri Feb  4 01:53:47 CET 2000.

Summary of my perl5 (revision 5.0 version 5 subversion 63) configuration:
  Platform:
    osname=linux, osvers=2.2, archname=i686-linux
    uname='linux cerebro 2.2.14 #47 smp sat jan 22 19:37:04 cet 2000 i686 '
    config_args=''
    hint=previous, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef
    usesocks=undef useperlio=undef d_sfio=undef
    use64bits=undef uselargefiles=undef usemultiplicity=undef
  Compiler:
    cc='gcc', optimize='-O2 -mpentiumpro', gccversion=pgcc-2.95.2 19991024 (release)
    cppflags='-Dbool=char -DHAS_BOOL -I/usr/local/include'
    ccflags ='-Dbool=char -DHAS_BOOL -I/usr/local/include'
    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
    alignbytes=4, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-ldl -lm -lc -lcrypt
    libc=/lib/libc-2.1.2.so, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'

Locally applied patches:
    

---
@INC for perl 5.00564:
    /usr/app/lib/perl5/i686-linux
    /usr/app/lib/perl5
    /usr/app/lib/i686-linux
    /usr/app/lib/perl5
    .

---
Environment for perl 5.00564:
    HOME=/root
    LANG (unset)
    LANGUAGE (unset)
    LC_CTYPE=de
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=/root/ms::/usr/app/FM556_linux/bin:/root/cc/dejagnu/bin:/usr/app/qt/bin/:.:/root/s:/bin:/sbin:/usr/bin:/usr/sbin:/usr/app/bin:/usr/app/sbin:/usr/X11/bin:/usr/games:/usr/maple/bin:/usr/kde/bin:/usr/gnome/bin:/opt/bin:/localvol/usr/app/insure++/bin.linux
    PERLDB_OPTS=ornaments=0
    PERL_BADLANG (unset)
    SHELL=/bin/bash

      -----==-                                             |
      ----==-- _                                           |
      ---==---(_)__  __ ____  __       Marc Lehmann      +--
      --==---/ / _ \/ // /\ \/ /       pcg@opengroup.org |e|
      -=====/_/_//_/\_,_/ /_/\_\       XX11-RIPE         --+
    The choice of a GNU generation                       |
                                                         |

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