Near as I can tell, when looking at perldoc File::Find
when used as a variable $File::Find::name it supposed to be the
absolute filename (In part!):
perldoc File::Find (In part!):
 [...]
   $File::Find::dir is the current directory name,
   $_ is the current filename within that directory
   $File::Find::name is the complete pathname to the file.

** Note it says `complete' -ed hp

   Don't modify these variables.

   For example, when examining the file /some/path/foo.ext you will have:

       $File::Find::dir  = /some/path/
       $_                = foo.ext
       $File::Find::name = /some/path/foo.ext
 [...]

Am I misunderstanding this?

The output I'm getting is a relative name, and that is what I've fed
the find function.  But still the docu seems to indicate it will
return the absolute (`complete' as above) file name.


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to