- or download this
# create various wnated functions
my $wanted= make_wanted( \&wanted_1, 'toto', 'tata');
find( $wanted, '.');
print "\n";
- or download this
find( sub{ wanted_1( 'toto', 'tata')}, '.');
print "\n";
- or download this
use File::Find;
...
find( $wanted->(1,2), 'd:\temp\copy');
find( $wanted->(20,19), 'd:\temp\copy');
- or download this
#...
*wanted = callback {
...
find( wanted(1,2), 'd:\temp\copy');
find( wanted(20,19), 'd:\temp\copy');