in reply to Looking for small csv files script question
Of course you can install other File::Find variants. Just search PerlMonks to see how. But why would you?
As others already showed here, it is extremely simple with File::Find. Once you are used to the idiom, you'll even start writing these quests in short versions:
use File::Find; my @files; find (sub { m/\.csv$/i && -s $_ < 5500 and push @files, $File::Find::N +ame }, "C:/Temp"); say for sort @files;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Looking for small csv files script question
by PerlPlay (Novice) on Dec 04, 2013 at 08:53 UTC | |
by dasgar (Priest) on Dec 04, 2013 at 14:45 UTC | |
by PerlPlay (Novice) on Dec 05, 2013 at 06:28 UTC | |
by PerlPlay (Novice) on Dec 05, 2013 at 06:35 UTC |