in reply to Re: opening files after File::Find
in thread opening files after File::Find
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.
|
|---|