Hi Monks!
I need to build a report that will show all Perl modules used by all programs used at work. It means that I have to go through a lot of directories and open every Perl script and look for all Perl modules used in the program, its crazy. I know as a start I can use something like this:
use File::Find;
find(\&handleFind, '../directory1');
sub handleFind {
my $foundFile = $File::Find::name;
print "$foundFile\n" if ($foundFile =~ /\.pl?$/i);
}
Does anyone here have anything similar that I can start my quest with? Thanks for looking!