Skip Menu |
 

This queue is for tickets about the Perl-Dist-Strawberry CPAN distribution.

Report information
The Basics
Id: 114183
Status: open
Priority: 0/
Queue: Perl-Dist-Strawberry

People
Owner: Nobody in particular
Requestors: steven.hartland [...] multiplay.co.uk
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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>
Download (untitled) / with headers
text/plain 319b
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 5.22.2.1 64bit.
Download (untitled) / with headers
text/plain 459b
On 2016-05-04 20:44:08, steveh wrote: Show quoted text
> 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 5.22.2.1 64bit.
Probably should be reported at the File::Copy bugtracker --- which is rt.perl.org.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.