vit has asked for the wisdom of the Perl Monks concerning the following question:
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;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: reading file names to an array from the directory tree
by ikegami (Patriarch) on May 22, 2010 at 23:11 UTC | |
by vit (Friar) on May 22, 2010 at 23:35 UTC | |
by ikegami (Patriarch) on May 22, 2010 at 23:43 UTC | |
by vit (Friar) on May 22, 2010 at 23:58 UTC | |
by vit (Friar) on May 23, 2010 at 22:04 UTC | |
by ikegami (Patriarch) on May 23, 2010 at 22:31 UTC | |
|