in reply to Read Directory and getlines in .csv
use File::Find::Rule; my $dir = 'lib'; # or wherever they're located my $last_24_hours = time - 86_400; my @files = File::Find::Rule->file->name('*.csv')->mtime(">$la +st_24_hours")->in($dir);
Cheers,
Ovid
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Read Directory and getlines in .csv
by Cristoforo (Curate) on Apr 27, 2016 at 20:14 UTC | |
Re^2: Read Directory and getlines in .csv
by Dipepper (Novice) on Apr 27, 2016 at 17:24 UTC |