in reply to UNIX 'command' equivalents in Perl
For the touch command, suggest you add utime in addition to open/close, since if the file already exists you don't need to open and close it, you can simply call the utime built-in function to change its access and modification times.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: UNIX 'command' equivalents in Perl
by Anonymous Monk on Aug 05, 2009 at 13:37 UTC |