- or download this
# From almut
sub make_wanted {
...
my $arg = "hello";
find(make_wanted($arg), $source);
- or download this
sub wanted {
my ($arg) = @_;
...
my $arg = "hello";
find(sub { wanted($arg) }, $source);
- or download this
my $arg = "hello";
find(sub {
my $diskpathfile = $File::Find::name;
print "$arg: $diskpathfile\n";
}, $source);
- or download this
my $arg = "hello";
...
}
find(\&wanted, $source);