Browse Tag: perl

Perl module infos

Check to see if a perl module is installed:
[code lang=”perl”]perl -MMODULENAME -e1[/code]
(no output == success)

Check perl module versions:
[code lang=”perl”]perl -MMODULENAME -e’print “$MODULENAME::VERSION\n”;'[/code]

Find out where a perl module is installed (docs, sources, etc):
[code lang=”perl”]perl -MExtUtils::Installed -e’$,=”\n”;print ExtUtils::Installed->new()->directories(“MODULENAME”),” “‘[/code]