my $somedir = '.'; opendir DH, $somedir or die "Cannot open $somedir: $!"; my @files = grep { ! -d } readdir DH; closedir DH;
In reply to Re: How do I read files from a folder and place them into a list?
by Ovid
in thread How do I read files from a folder and place them into a list?
by wstarrs
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |