The files found initially will be relative to, and include, the searchpath itself. So you'll have (src\file1.html, src\subdir\file2.htm) etc. You then look for these filenames below a target directory. But do you need to strip off the src prefix first, or do you really have D:\Projects\perl\targ\src\file1.html?
Update: I've just looked up the documentation on File::Find (better late than never), and of course, it appears that targetfind is trying to find the fully qualified filename within the unqualified filename. It's even less suprising that it fails (unless you've got really strange filenames in the target directory).
In reply to Re: Finding files in a directory tree from and array of file names
by tommyw
in thread Finding files in a directory tree from and array of file names
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |