- or download this
use constant MTIME => 9; # File modification time
...
else {
$Text .= " PDF is UP-TO-DATE \"$BulletinPDF\"\n";
}
- or download this
if (-M "$BulletinSrc" < -M "$BulletinPDF") {
$Text .= " PDF is stale \"$BulletinPDF\"\n";
...
else {
$Text .= " PDF is UP-TO-DATE \"$BulletinPDF\"\n";
}
- or download this
Start of program
TDS :
...
i.e., stat() returns a TDS (time date stamp)
-M returns a length since the start of the program