buz260 has asked for the wisdom of the Perl Monks concerning the following question:
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 }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Getting a file's timestamp and storing this as a variable
by gwadej (Chaplain) on Apr 16, 2009 at 13:29 UTC | |
|
Re: Getting a file's timestamp and storing this as a variable
by ikegami (Patriarch) on Apr 16, 2009 at 14:02 UTC |