Even if you don't use File::Find directly, at least go read its source code as a reference.
Added hours later.
Also, see Re: Re: (Perl6) Groking Continuations (iterators) for a non-recursive version of find().
In reply to Re: recursive path function falls into infinite loop
by diotalevi
in thread recursive path function falls into infinite loop
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |