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.
In reply to Re: UNIX 'command' equivalents in Perl
by eyepopslikeamosquito
in thread UNIX 'command' equivalents in Perl
by cdarke
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |