#!/usr/bin/perl use strict; # https://perlmonks.org/?node_id=1192943 use warnings; # If it's really true that all the files you are interested in # have the same root with three digit extensions, # then all that is needed is: my $highest = (<file.???>)[-1]; print "File with Highest Extension => $highest\n";
In reply to Re: Find the last item in a series of files
by tybalt89
in thread Find the last item in a series of files
by fredho
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |