in reply to Why doesnt the string returned by $File::Find::name find point to files

Read the error. Try to understand what it is trying to tell you. The error mentions line 44...

One thing that I think you might be confused about is that $File::Find::name returns the names of directories as well as files.

  • Comment on Re: Why doesnt the string returned by $File::Find::name find point to files