use File::Find; my $found; find(\&wanted, @files); sub wanted { $File::Find::prune = 1, return if defined $found; $found = $File::Find::name if $_ eq "$item.dat"; }
In reply to Re: File::Find
by runrig
in thread Problem using File::Find
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |