laziness, impatience, and hubris | |
PerlMonks |
Re^2: Permission denied writing to Windows 10by Anonymous Monk |
on Sep 14, 2016 at 18:50 UTC ( [id://1171759]=note: print w/replies, xml ) | Need Help?? |
Thanks for correcting my use of open. I have changed to use the 3-arg open with lexical handles. Hello.txt as a file does not exist before running the script. The idea is that the script creates file. So if it doesn't yet exist, then it can't be RO, right? Is it possible that files are getting created as RO for some reason?
In Section
Seekers of Perl Wisdom
|
|