However I'd like to be able to store this value in a variable rather than just use it in conditional statments... Is there a way of doing this? Thanksif (-M $outputfile < $timeforfiletoupdate_beforeerror) { # etc }
In reply to Getting a file's timestamp and storing this as a variable by buz260
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |