opendir, readdir and closedir---how did I never know about those? I currently do quite a lot of reading in the contents of directories, and so far I've always done it by endless constructs like
$dir_list=`ls -1 */*`;
@files=split(/\n/,$dir_list);
D'oh! and thanks!
why_bird
........
Those are my principles. If you don't like them I have others.
-- Groucho Marx
.......