Syntactic Confectionery Delight | |
PerlMonks |
Re^5: cp in perlby Anonymous Monk |
on Nov 07, 2006 at 16:37 UTC ( [id://582686]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|