opendir DIR, "directory/"; my @files = grep { $_ ne '.' && $_ ne '..' } readdir DIR; closedir DIR;
In reply to Re: How do I read all the file names of a directory into an array?
by kilinrax
in thread How do I read all the file names of a directory into an array?
by Ri-Del
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |