diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-09-06 13:51:16 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-09-06 13:51:16 +0000 |
commit | 716e3b8c0c8bbed515ed9bf0db90423d663bb79b (patch) | |
tree | a674d5e6fca8bf1893db83983cf2e4232ace9233 /lib/Cwd.pm | |
parent | 61890e451c40f0ead72fe0c321f8242b69768aac (diff) | |
download | perl-716e3b8c0c8bbed515ed9bf0db90423d663bb79b.tar.gz |
Avoid redefinition warning
Subroutine Cwd::fastcwd redefined at lib/XSLoader.pm line 97.
from
perl -w -Ilib -MCwd -e ''
p4raw-id: //depot/perl@11915
Diffstat (limited to 'lib/Cwd.pm')
-rw-r--r-- | lib/Cwd.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Cwd.pm b/lib/Cwd.pm index 88afca2232..8b9a780be0 100644 --- a/lib/Cwd.pm +++ b/lib/Cwd.pm @@ -168,6 +168,7 @@ if ($^O eq 'os2' && defined &sys_cwd && defined &sys_abspath) { eval { require XSLoader; + undef *Cwd::fastcwd; # avoid redefinition warning XSLoader::load('Cwd'); }; |