This gets you through all the files in the directory.opendir(DIR, $dirname) || die "Horrible Death"; while(defined($file=readdir(DIR)) { print $file, "\n"; } closedir(DIR);
In reply to Re: readdir fails?
by webadept
in thread readdir fails?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |