in reply to How do I read files from a folder and place them into a list?
use File::Slurp; my $dir = '.'; # or whatever my @files = sort grep { -f "$dir/$_" } read_dir($dir); [download]