Hmmm. I could do better. Instead of the full path, we should print the module as it would be called and print the version number if found.use warnings; use strict; use File::Find; foreach my $dir (@INC) { File::Find::find (\&wanted,"$dir"); } sub wanted { if ($File::Find::name =~ /\.pm$/) { print "$File::Find::name\n"; } }
In reply to Re: List of installed modules
by lemming
in thread List of installed modules
by fundflow
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |