Supplement: query which Perl modules have been installed locally.

Source: Internet
Author: User
Add the methods summarized yesterday to query which Perl modules have been installed locally. You can use either of the following methods:

Run the following statement in shell:

$ Perl-msmart: comments-El

If an error similar to the following is prompted, can't locate smart/comments. pm IN @ INC (@ INC contains: C:/strawberry/perl/lib C:/strawberry/perl/site/lib .).
It indicates that your Perl has not installed this module. If this module has been installed, nothing will happen.
You can also use a similar method for testing. For example, run the Perl use command directly from the shell:

$ Perl-e "use smart: Comments ;"

The use statement is directly followed. If this module exists, no error is reported. If this module does not exist, an error message is displayed.

IfCodeTo query and obtain information about the installed modules, you can use the extutils: Installed module.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.