... or something like that. I hope someone comes up with a better answer for you. :)@drives = &someSubThatReturnsListODrives(); foreach my $drive ( @drives ) { find(\&handleFind, $drive); } sub handleFind { my $foundFile = $File::Find::name if 'VCVARS32.BAT'; print "$foundFile\n"; }
In reply to Re: File::Find
by Anonymous Monk
in thread File::Find
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |