in reply to opening files after File::Find

Is there any way to get absolute paths of the files which are returned by the find command ?

When it doubt, read the documentation. In this case the POD embedded in File::Find, which reads, in part

$File::Find::name contains the complete pathname to the file.

Replies are listed 'Best First'.
Re: Re: opening files after File::Find
by Kanji (Parson) on Sep 18, 2002 at 18:56 UTC

    Another option, if you're enamoured of the implicit variables and have a suitably recent version of File::Find, is that you can change the behaviour of $_ to match that of $File::Find::name by using the no_chdir option.

    find( { wanted => sub { print }, no_chdir => 1, }, @paths );

        --k.