Help for this page

Select Code to Download


  1. or download this
    my $newest_time;
    my @newest_files;
    ...
          return $file;
       }
    }
    
  2. or download this
    my %times;
    $times{$_} = (stat($file))[9]
       foreach @files;
    @files = sort { $times{$b} <=> $times{$a} } @files;