File::Find Or, if j:\foo\bar\logs has only 1 level of sub folders, use opendir on that dir and read the contents, finding items that are also directories, which you can then do another opendir on.
Luke On Wed, 5 Dec 2001, Torres, Jose wrote: > Hi, > > How do you traverse Windows directories in Perl? Let's say J:\foo\bar\logs > has a variable number of folders, each of which I want to look into for a > specific file. How would I do this? Thanks for all help. > > > -Jose > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]