On Wed, Nov 05, 2003 at 06:31:40PM -0800, Michael G Schwern wrote: > > Anyway: the "standard" shell (CMD) overwrites without prompt. > > Then I don't see a reason why File::Copy::copy() shouldn't follow suit on > OS/2 same as it does everywhere else. Given that the scripts which expect the old semantic can do hard-to-repare damage to the system, I *still* see very little pressure to change. > * There's no expectation or reason that it might work this way on OS/2. > Anyone who found this found it because it happened unexpectedly. This is the Perl philosophy; document only top 30% of the iceberg; rely on users experimenting to deduce the rest. > So, in the end, its in your best interest to be as compatible as possible > with how Perl works on other operating systems without compromising the > functionality of Perl for OS/2 users. Up to you. So we are exactly where we started [you did not think that I missed any of these arguments, did you?]. It is still one undocumented behaviour vs the other. And, BTW, it is not enough to code copy_overwrite(). Actually, one should distinguish 3 possible cases: target does not exists; target exists and is not RO, target is RO. [Same with rename(), of course.] Yours, IlyaThread Previous | Thread Next