in reply to File::Find, File::Spec, and full paths.

I believe what your looking for is $File::Find::name. This will give you the complete pathname to the file. For more information check out File::Find on CPAN.

  • Comment on Re: File::Find, File::Spec, and full paths.

Replies are listed 'Best First'.
Re: Re: File::Find, File::Spec, and full paths.
by sauoq (Abbot) on Sep 03, 2002 at 19:52 UTC

    He already is using $File::Find::name. He said he wants an absolute path not just a "complete pathname." $File::Find::name is a relative path appended to the path argument supplied to the find function. So, if you provide a relative path argument, $File::Find::name will also be relative.

    -sauoq
    "My two cents aren't worth a dime.";