- or download this
#!/usr/bin/env perl -l
...
my $next_file = 'pm_1069813_results' . ++$highest . '.txt';
print "Next file: $next_file";
- or download this
Next file: pm_1069813_results4.txt
- or download this
$ ls -1 pm_1069813_results*.txt
pm_1069813_results1.txt
pm_1069813_results2.txt
pm_1069813_results3.txt