in reply to Finding files in a directory tree from and array of file names

Do you need a leading "/" or "\" before "src" in my @directory?

Also I think the opens may be redundant as you only seem to be processing the names of the files, not their contents - though perhaps this not so in the finished code.

§ George Sherston

Replies are listed 'Best First'.
Re: Re: Finding files in a directory tree from and array of file names
by Anonymous Monk on Oct 15, 2001 at 15:07 UTC
    No, the leading \ isn't the problem.
    And yes, the open is redundant here but as you say this isn't the complete code.

    I think the problem is either in the sub targetfind function or the foreach