in reply to Thread safe equivalent of LINUX touch command
Does utime do what you need?
the help says :-
For example, this code has the same effect as the Unix touch(1) comman +d when the files already exist and belong to the user running the program: #!/usr/bin/perl $atime = $mtime = time; utime $atime, $mtime, @ARGV;
Don't know about thread safety though, but why would you care ?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Thread safe equivalent of LINUX touch command
by GotToBTru (Prior) on Feb 12, 2015 at 20:39 UTC |