Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
use File::Find; find(\&handleFind, '../directory1'); sub handleFind { my $foundFile = $File::Find::name; print "$foundFile\n" if ($foundFile =~ /\.pl?$/i); }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Searching for Perl Modules in Files
by marto (Cardinal) on Aug 27, 2010 at 15:44 UTC | |
by Anonymous Monk on Aug 27, 2010 at 17:28 UTC | |
by vek (Prior) on Aug 27, 2010 at 21:40 UTC | |
by Anonymous Monk on Aug 27, 2010 at 18:06 UTC |