in reply to Re: Re: file::find question
in thread file::find question

You can write:

{ # enclosing scope my @found_files; sub criteria { # do the right thing } } find(\&criteria,$dir);

Of course, now you have to decide how large a part of your script needs access to the @found_files variable.

-- 
        dakkar - Mobilis in mobile