but for all files in a dir and all subdirs. I would avoid opening UNIX shells.opendir (DIR, $dir) or die "cannot open dir $!\n"; my @files = readdir(DIR); close DIR;
In reply to reading file names to an array from the directory tree by vit
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |