in reply to How do I read all the file names of a directory into an array?
I hope this gets you going in the right direction...my $directory = 'c:\windows'; opendir(DIR,$directory); my @files = readdir(DIR); closedir(DIR); foreach(@files){ print $_,"\n"; }
Mick
|
|---|