How about this one:
perl -MFile::Find -le ' for my $inc (@INC) { find(sub { return unless /pm$/; $_ = $File::Find::name; s{^\Q$inc/}{}; s{/}{::}g; s{.pm$}{}; print }, $inc); }'
We'll see how long it takes to get golfed. :-)
In reply to Re: Showing all installed modules
by revdiablo
in thread Showing all installed modules
by eastcoastcoder
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |