Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re: File::Copy versus cp/mv

by samtregar (Abbot)
on Oct 02, 2003 at 05:29 UTC ( #295825=note: print w/replies, xml ) Need Help??

in reply to File::Copy versus cp/mv

Two good reasons: 1) security, when the filenames are coming from external sources and 2) the ability to handle strange characters in filenames (spaces, pipes, etc). These are good arguements, but if it were me I'd just tell them it's faster. Most programmers I know are slaves to (percieved) performance.


Replies are listed 'Best First'.
Re^2: File::Copy versus cp/mv
by Aristotle (Chancellor) on Oct 02, 2003 at 06:50 UTC
    Both reasons you name are arguments to forgo the shell, but not reason enough to avoid system alltogether.. :)

    Makeshifts last the longest.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://295825]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (7)
As of 2018-06-23 08:34 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (125 votes). Check out past polls.