File::Find changes the working directory as it traverses the directory tree and the $File::Find::name contains the complete path from the starting directory. You want to use $_ instead. That is just the filename, without path.
HTH, Jenda
Always code as if the guy who ends up maintaining your code
will be a violent psychopath who knows where you live.
-- Rick Osborne
Edit by castaway: Closed small tag in signature
In reply to Re: File::FInd subfolders
by Jenda
in thread File::FInd subfolders
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |