Note that File::Slurp::read_dir automatically skips '.' and '..'.use File::Slurp; my $dir = '.'; # or whatever my @files = sort grep { -f "$dir/$_" } read_dir($dir);
In reply to Re: How do I read files from a folder and place them into a list?
by ctilmes
in thread How do I read files from a folder and place them into a list?
by wstarrs
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |