Help for this page

Select Code to Download


  1. or download this
    use constant MTIME    =>    9;    # File modification time
    
    ...
      else {
        $Text .= " PDF is UP-TO-DATE        \"$BulletinPDF\"\n";
        }
    
  2. or download this
    if (-M "$BulletinSrc" < -M "$BulletinPDF") {
        $Text .= " PDF is stale             \"$BulletinPDF\"\n";
    ...
      else {
        $Text .= " PDF is UP-TO-DATE        \"$BulletinPDF\"\n";
        }
    
  3. 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