Help for this page

Select Code to Download


  1. or download this
    ...
    my $inow_fas = "/inow/index-data/sfs-fas/fas.txt";
    die "Error: $inow_fas does not exist" unless ( -e $inow_fas );
    print STDERR "$inow_fas: modified ", int( -M _ ), " day(s) ago\n";
    ...
    
  2. or download this
    #!/usr/bin/perl  -w
    
    ...
      # running under cron
      return `/bin/ps -aef | /bin/grep $program | /bin/grep -v grep`;
    }