develooper Front page | perl.perl5.porters | Postings from October 2011

[perl #96158] File::Copy needs fixing

Thread Previous | Thread Next
Father Chrysostomos via RT
October 29, 2011 01:03
[perl #96158] File::Copy needs fixing
Message ID:
On Wed Aug 03 22:08:59 2011, LAWalsh wrote:
> Abigail wrote:
> > In File::Copy 2.15 and later, there's a slight difference between
> > and 'cp'. The latter will preserve the permission bits, as the
system 'cp'
> > doest. It doesn't preserve timestamps (since a plain 'cp' doesn't do so
> > either).
> ---
> 	But Why should unix get the worst support when Syscopy on VMS,
> OS/2, Mac and Win32, all use routines that preserve all the file
> 	Why would one choose to do less on unix when the system 'cp'
> command has the ability to copy everything.
> 	Not copying metadata isn't copying the file file.
> 	Now if the routine was named File::CopyData, it might be
> different, but now days, I'd expect a digital copy to be 'precise' and
> complete.
> 	Is there some reason why this shouldn't be the default?

Probably backward compatibility.


Father Chrysostomos

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About