in reply to Re: Re: Re: Re: File::Copy dying on Win2k when target file already there
in thread File::Copy dying on Win2k when target file already there
You could conditionally note the value to use, once:
and then use that constant in your code.use constant ROFLAG => $^O eq 'MSWin32' ? 0444 : 0644;
I don't know what you mean about typing :w.
—John
|
|---|