Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^5: cp in perl

by Anonymous Monk
on Nov 07, 2006 at 16:37 UTC ( [id://582686]=note: print w/replies, xml ) Need Help??


in reply to Re^4: cp in perl
in thread cp in perl

All I'm saying that regardless what the documentation says, is that if people suggest that 'File::Copy::copy' is Perl's answer to 'cp', then people *will* treat it as 'cp'. It works well if you give it two arguments. It will erase your file if you give it three.

IMO, that's very, very bad. It violates the principle of least surprise in one of the worst ways possible.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (2)
As of 2024-04-26 02:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found