Perl-Moduled-List of installed Modules

Preface

Sometime it’s need to know what Perl modules are available on your OS. According to this here is an example of commands that can help with this.

Get List of Installed Perl Modules

Command:

perl -MFile::Find=find -MFile::Spec::Functions -Tlwe 'find { wanted => sub { print canonpath $_ if /\.pm\z/ }, no_chdir => +1 }, @INC'

Example:

[user@repo1 ~]$ perl -MFile::Find=find -MFile::Spec::Functions -Tlwe 'find { wanted => sub { print canonpath $_ if /\.pm\z/ }, no_chdir => +1 }, @INC'

/usr/lib64/perl5/vendor_perl/Crypt/SSLeay.pm
/usr/lib64/perl5/vendor_perl/Crypt/SSLeay/MainContext.pm
/usr/lib64/perl5/vendor_perl/Crypt/SSLeay/Conn.pm
/usr/lib64/perl5/vendor_perl/Crypt/SSLeay/Err.pm
/usr/lib64/perl5/vendor_perl/Crypt/SSLeay/X509.pm
/usr/lib64/perl5/vendor_perl/Crypt/SSLeay/CTX.pm
...
Navigation
Print/export
QR Code
QR Code wiki:programming_languages:perl:perl-moduled-list_of_installed_modules (generated for current page)