Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

How to check if a Perl module is already installed?

Answer:

For example, to check if the DBI module is installed or not, use

perl -e 'use DBI;'

You will see error if not installed.

  1. List all the installed Perl modules
  2. How to find a Perl Module’s Path
  3. Install Perl module from CPAN even tests failed
  4. Install Perl module using CPAN
  5. How to perform syntax check for Perl program

Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>