Front page | perl.perl5.porters |
Postings from March 2003
[perl #21721] getcwd conflict reported between POSIX and Cwd modules
Thread Next
From:
perlbug-followup
Date:
March 27, 2003 10:09
Subject:
[perl #21721] getcwd conflict reported between POSIX and Cwd modules
Message ID:
rt-21721-54173.0.694515071617872@bugs6.perl.org
# New Ticket Created by bplatz@acm.org
# Please include the string: [perl #21721]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=21721 >
This is a bug report for perl from bplatz@acm.org,
generated with the help of perlbug 1.34 running under perl v5.8.0.
-----------------------------------------------------------------
[Please enter your report here]
The following simple program reports warnings under Perl 5.8.0,
but not previous releases:
aldrsh(dcssrv88.agere.com/megpsrv): cat z.pl
#!/opt/perl58/bin/perl -w
use POSIX;
use Cwd;
aldrsh(dcssrv88.agere.com/megpsrv): z.pl
Subroutine main::getcwd redefined at /opt/perl58/lib/5.8.0/Exporter.pm line 59.
at z.pl line 4
Why?
I should be able to fully qualify on which version of getcwd that I want,
even if there were two versions defined. Isn't this the point of
qualifying methods by package or class name? I do not want to
remove the -w option, because I want to see other warning messages.
Previous versions of Perl did not report the above warning.
Thank you in advance,
Dave Schulte
bplatz@acm.org
[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
category=library
severity=high
---
Site configuration information for perl v5.8.0:
Configured by vanwart at Tue Sep 24 16:39:45 EDT 2002.
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
Platform:
osname=solaris, osvers=2.8, archname=sun4-solaris
uname='sunos dcssrv88.agere.com 5.8 generic_108528-14 sun4u sparc sunw,sun-fire-280r '
config_args='-Dcc=gcc -B/usr/ccs/bin/'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc -B/usr/ccs/bin/', ccflags ='-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O',
cppflags='-fno-strict-aliasing'
ccversion='', gccversion='3.2', gccosandvers='solaris2.8'
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
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, prototype=define
Linker and Libraries:
ld='gcc -B/usr/ccs/bin/', ldflags =' -L/usr/local/lib '
libpth=/usr/local/lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -ldl -lm -lc
perllibs=-lsocket -lnsl -ldl -lm -lc
libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib'
Locally applied patches:
---
@INC for perl v5.8.0:
/opt/perl58/lib/5.8.0/sun4-solaris
/opt/perl58/lib/5.8.0
/opt/perl58/lib/site_perl/5.8.0/sun4-solaris
/opt/perl58/lib/site_perl/5.8.0
/opt/perl58/lib/site_perl
.
---
Environment for perl v5.8.0:
HOME=/home/aldrsh
LANG (unset)
LANGUAGE (unset)
LD_LIBRARY_PATH=/opt/SUNWspro6/SUNWspro/lib:/usr/openwin/lib:/usr/lib:/oracle/product/8.1.7/lib:/usr/dt/lib:/jdbc/lib
LOGDIR (unset)
PATH=/usr/ccs/bin:/opt/SUNWspro6/SUNWspro/bin:/oracle/product/8.1.7/bin:/home/aldrsh/bin:/usr/bin::/usr/sbin:/usr/local/bin:/opt/dcs/bin:/opt/dcs/adm:/usr/openv/netbackup/bin:/usr/openv/volmgr/bin:/opt/sudo/bin:/opt/addpath/bin:/opt/EMCpower/bin:/etc::/opt/smradmin/scheduler/dcssrv15eP:/opt/smradmin/bin:/usr/openwin/bin:/bin:/usr/ccs/bin
PERL_BADLANG (unset)
SHELL=/bin/ksh
Thread Next
-
[perl #21721] getcwd conflict reported between POSIX and Cwd modules
by perlbug-followup