Skip Menu |

This queue is for tickets about the Net-DAV-Server CPAN distribution.

Report information
The Basics
Id: 60888
Status: new
Priority: 0/
Queue: Net-DAV-Server

People
Owner: Nobody in particular
Requestors: contact [...] clipland.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.300_05
Fixed in: (no value)



Subject: Use proven helper for copy()
copy {} and such should rely on File::Copy. Doing my $file = join '', <$fh>; is a bad idea for large files.. my $sfh = $fs->open_read($file); # source and destination filehandles my $dfh = $fs->open_write($destfile); File::Copy::copy($sfh,$dfh); $fs->close_read($sfh); $fs->close_write($dfh);