Help for this page

Select Code to Download


  1. or download this
    foreach my $file (@filelist) {
        if ( int( -M $file ) < 1 ) {
            # do something with a file
        }
    }
    
  2. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
            print "  $File::Find::name\n";
        }
    }
    
  3. or download this
    List of files newer than yesterday in d:/usr:
      d:/usr/newfile1.txt
      d:/usr/newfile2.txt