Apr
16

How To Check If a Perl Module Exists

By celso

To quickly check if a certain module is installed in your environment, do this from the command line

perl -MModuleName -e 1

If the prompt comes back with no message, then the module exists. Otherwise, if it comes back with a “Can’t Locate…” message, it’s not available.

Categories : Perl

Leave a Comment

You must be logged in to post a comment.