diff options
Diffstat (limited to 'lib/File/Copy.pm')
-rw-r--r-- | lib/File/Copy.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/File/Copy.pm b/lib/File/Copy.pm index be184a6e14..5558bafe11 100644 --- a/lib/File/Copy.pm +++ b/lib/File/Copy.pm @@ -72,6 +72,7 @@ sub copy { if ($Config{d_symlink} && $Config{d_readlink} && !($^O eq 'Win32' || $^O eq 'os2' || $^O eq 'vms')) { + no warnings 'io'; # don't warn if -l on filehandle if ((-e $from && -l $from) || (-e $to && -l $to)) { my @fs = stat($from); my @ts = stat($to); |