Think about Loose Coupling | |
PerlMonks |
Re^2: Read Directory and getlines in .csvby Cristoforo (Curate) |
on Apr 27, 2016 at 16:45 UTC ( [id://1161656]=note: print w/replies, xml ) | Need Help?? |
You could avoid the use of File::stat by checking for csv files less than a day old with
my @today = grep /\.csv$/ && -M "$dir/$_" < 1, readdir DIR; (See file test ops).
In Section
Seekers of Perl Wisdom
|
|