in reply to Question about File::Find and Home Node
If you just want the filename, not the full path and filename, use $_.The wanted() function does whatever verifications you want. $File::Find::dir contains the current directory name, and $_ the current filename within that directory. $File::Find::name contains "$File::Find::dir/$_".
|
|---|