Created
August 28, 2019 08:22
-
-
Save kristiannissen/dd262b808bc0e1f6ae28572661d9f5c8 to your computer and use it in GitHub Desktop.
Print all installed modules
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| use File::Find; | |
| foreach my $dir (@INC){ | |
| find sub { | |
| print "$File::Find::name<br>" if /\.pm$/; | |
| }, $dir; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment