Front page | perl.perl5.porters |
Postings from April 2000
[ID 20000410.003] File::Glob qw(:glob) does not work
Thread Next
From:
Marc Lehmann
Date:
April 10, 2000 06:25
Subject:
[ID 20000410.003] File::Glob qw(:glob) does not work
Message ID:
20000410084514.A4211@cerebro.laendle
This is a bug report for perl from root@cerebro.laendle,
generated with the help of perlbug 1.28 running under perl v5.6.0.
-----------------------------------------------------------------
[Please enter your report here]
File::Glob does not properly export it's glob function:
cerebro:~# perl -e 'use File::Glob ":glob"; glob "/tmp/*", GLOB_NOSORT'
Too many arguments for glob at -e line 1, at EOF
Execution of -e aborted due to compilation errors.
[Exit 255]
However, qualifying glob with the package name works:
cerebro:~# perl -e 'use File::Glob ":glob"; File::Glob::glob "/tmp/*", GLOB_NOSORT'
cerebro:~#
Looks like a prototype error.
[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
category=library
severity=medium
---
Site configuration information for perl v5.6.0:
Configured by root at Fri Mar 24 17:33:21 CET 2000.
Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
Platform:
osname=linux, osvers=2.2, archname=i686-linux
uname='linux cerebro 2.2.14 #59 smp fri mar 10 22:52:46 cet 2000 i686 unknown '
config_args=''
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=undef d_sfio=undef uselargefiles=undef
use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef
Compiler:
cc='gcc', optimize='-Os -mpentiumpro -g', gccversion=gcc-2.95.2 19991024 (release)
cppflags='-fno-strict-aliasing -I/usr/local/include'
ccflags ='-fno-strict-aliasing -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
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4
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.3.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 v5.6.0:
/usr/app/lib/perl5
/usr/app/lib/perl5
/usr/app/lib/perl5
/usr/app/lib/perl5
.
---
Environment for perl v5.6.0:
HOME=/root
LANG (unset)
LANGUAGE (unset)
LC_CTYPE=de
LD_LIBRARY_PATH (unset)
LOGDIR (unset)
PERLDB_OPTS=ornaments=0
PERL_BADLANG (unset)
SHELL=/bin/bash
Thread Next
-
[ID 20000410.003] File::Glob qw(:glob) does not work
by Marc Lehmann