Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: File::Copy versus cp/mv

by dragonchild (Archbishop)
on Oct 01, 2003 at 16:55 UTC ( #295690=note: print w/ replies, xml ) Need Help??

in reply to File::Copy versus cp/mv

File::Copy doesn't do directories. It also doesn't respect execution bits. What it does do is copy faster than cp. (And, you can increase that speed to the max your hardware can handle.)

I have wrapped around File::Copy to meet the needs of the application I work with, handling directories and copying to a temp-name, then moving, so as to only have the name appear when the file is fully copied. (500M over a network can be less than instantaneous, but File::Copy does help.)

We are the carpenters and bricklayers of the Information Age.

The idea is a little like C++ templates, except not quite so brain-meltingly complicated. -- TheDamian, Exegesis 6

Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified.

Comment on Re: File::Copy versus cp/mv

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://295690]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2015-11-29 23:23 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (754 votes), past polls