http://www.perlmonks.org?node_id=1017131


in reply to Re^2: why does open ">..." sometimes touches the directory?
in thread why does open ">..." sometimes touches the directory?

the question is, why do my Perl scripts sometimes do it and sometimes don't - and I checked, all they do explicitly, is open for writing, and write, and close, not remove anything

Maybe they use rename, maybe they use utime, maybe they call other functions or programs that do manage to change mtime, .... you seem to think open is responsible, but it probably isn't

  • Comment on Re^3: why does open ">..." sometimes touches the directory?