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.
In reply to Re: Re: opening files after File::Find
by Kanji
in thread opening files after File::Find
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |