in reply to Re: how to determine whether a module is installed or not?
in thread how to determine whether a module is installed or not?
I found this on Google. this perl oneliner will list all the installed modules on your system (Linux). then you can grep for whatever module your are looking for.
perl -MFile::Find=find -MFile::Spec::Functions -Tlwe 'find { wanted => + sub { print canonpath $_ if /\.pm\z/ }, no_chdir => 1 }, @INC'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: how to determine whether a module is installed or not?
by tilly (Archbishop) on Dec 28, 2010 at 07:29 UTC |