|Subject:||File::Copy doesn't set $! on error|
|Date:||Thu, 5 May 2016 01:43:24 +0100|
|To:||bug-Perl-Dist-Strawberry [...] rt.cpan.org|
|From:||Steven Hartland <steven.hartland [...] multiplay.co.uk>|
Using copy from File::Copy doesn't set $! on error. copy returns 0 but $! is blank. Switching to a manual copy which uses a creating "open" returns the correct error of "Permission Denied" so it looks like this may be a issue with File::Copy on Strawberry. Windows 10 64bit and Strawberry version is 22.214.171.124 64bit.