TIMTOWTDI
#!/usr/bin/perl use strict; # https://www.perlmonks.org/?node_id=11154077 use warnings; use List::AllUtils qw( min_by ); my $dir = '.'; # FIXME to your path my $mostrecent = min_by { -M } <$dir/*>; print "most recent file: $mostrecent\n";
In reply to Re: Get the last modified file from the UNC path
by tybalt89
in thread Get the last modified file from the UNC path
by eilat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |