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/$_".
In reply to (ar0n) Re: Question about File::Find and Home Node
by ar0n
in thread Question about File::Find and Home Node
by curtisb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |