Let's take a look at the File::Find docs and see what they have to say on the subject...
$File::Find::dir contains the current directory name, and $_ the current filename within that directory. $File::Find::name contains "$File::Find::dir/$_". You are chdir()'d to $File::Find::dir when the function is called.
--
"Perl makes the fun jobs fun
and the boring jobs bearable" - me
In reply to Re: File::Find and current directory
by davorg
in thread File::Find and current directory
by Beatnik
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |