in reply to Re: How to open files found via File::Find
in thread How to open files found via File::Find
Finally, $_ only contains the name of the file, not the path to the file. You need to use $File::Find::name.
Actually, File::File::find() changes directories while tranversing the file system so $_ doesn't need the path because $_ is in the CWD (which is in $File::Find::dir).
|
|---|