Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

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.

-sam

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2018-02-23 18:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (306 votes). Check out past polls.

    Notices?